废品类目逻辑删除3

door
LI-CCONG\李聪聪 7 months ago
parent f0f153d7a8
commit e80561f536

@ -45,6 +45,7 @@ public class PriceProductServiceImpl extends ServiceImpl<PriceProductMapper, Pri
if (CollUtils.isEmpty(productIds)) { if (CollUtils.isEmpty(productIds)) {
return CollUtils.emptyList(); return CollUtils.emptyList();
} }
wrapperX.isNull(Product::getDeleted);
wrapperX.in(Product::getId, productIds); wrapperX.in(Product::getId, productIds);
return productMapper.selectList(wrapperX); return productMapper.selectList(wrapperX);
} }

Loading…
Cancel
Save