Commit e0477a3a by “Kongxiangkun”

增加积分商城相关代码

parent 9a2f03f7
......@@ -50,6 +50,7 @@ public class PointProductServiceImpl extends ServiceImpl<PointProductMapper, Poi
PointProduct tem = new PointProduct();
tem.setId(pointProduct.getId());
int count = pointProductMapper.selectCount(new EntityWrapper<PointProduct>(tem));
log.info("删除积分商品时判断是否存在:{}", count);
if(count<=0){
return -1L;
}
......
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