|
|
@ -79,6 +79,7 @@ public class GoodsSpuService extends MybatisBaseService<GoodsSpuMapper, GoodsSpu |
|
|
|
// if(StringUtils.isNotBlank(query.getUserOrgSid())){
|
|
|
|
// qw.eq("userOrgSid",query.getUserOrgSid());
|
|
|
|
// }
|
|
|
|
qw.ne("s.isDelete","1"); |
|
|
|
IPage<GoodsSpu> page = PagerUtil.queryToPage(pq); |
|
|
|
IPage<GoodsSpuVo> pagging = baseMapper.listPage(page, qw); |
|
|
|
PagerVo<GoodsSpuVo> p = PagerUtil.pageToVo(pagging, null); |
|
|
@ -200,7 +201,9 @@ public class GoodsSpuService extends MybatisBaseService<GoodsSpuMapper, GoodsSpu |
|
|
|
} |
|
|
|
return rb.success(); |
|
|
|
} |
|
|
|
|
|
|
|
public void delAll(String[] sids) { |
|
|
|
int count = baseMapper.updateBySidIsDelete(Arrays.stream(sids).collect(Collectors.toList())); |
|
|
|
} |
|
|
|
public ResultBean updateIsEnable(String sid, String isEnable) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
GoodsSpu wmsGoods = fetchBySid(sid); |
|
|
|