Commit 3f91d929 by XiaHou

权星相关接口修复

parent 4d6bd18c
...@@ -123,11 +123,6 @@ public interface PmsProductService { ...@@ -123,11 +123,6 @@ public interface PmsProductService {
int updateNewStatus(List<Long> ids, Integer newStatus); int updateNewStatus(List<Long> ids, Integer newStatus);
/** /**
* 批量删除商品
*/
int updateDeleteStatus(List<Long> ids, Integer deleteStatus);
/**
* 根据商品名称或者货号模糊查询 * 根据商品名称或者货号模糊查询
*/ */
List<SimpleProductResult> list(String keyword, Long catetoryI, Long catetoryIi, Long catetoryIii, Long mchtId); List<SimpleProductResult> list(String keyword, Long catetoryI, Long catetoryIi, Long catetoryIii, Long mchtId);
......
...@@ -553,21 +553,6 @@ public class PmsProductServiceImpl implements PmsProductService { ...@@ -553,21 +553,6 @@ public class PmsProductServiceImpl implements PmsProductService {
return productMapper.updateByExampleSelective(record, example); return productMapper.updateByExampleSelective(record, example);
} }
@Override
public int updateDeleteStatus(List<Long> ids, Integer deleteStatus) {
PmsProduct record = new PmsProduct();
if(deleteStatus == 1){
record.setDeleteStatus(1);//彻底删除
}else if(deleteStatus == 2){
record.setDelFlag(1);//逻辑删除(可以还原)
}else if(deleteStatus == 3){
record.setDelFlag(0);//还原
}
PmsProductExample example = new PmsProductExample();
example.createCriteria().andIdIn(ids);
return productMapper.updateByExampleSelective(record, example);
}
@Override @Override
public List<SimpleProductResult> list(String keyword, Long catetoryI, Long catetoryIi, Long catetoryIii, Long mchtId) { public List<SimpleProductResult> list(String keyword, Long catetoryI, Long catetoryIi, Long catetoryIii, Long mchtId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment