parent
f26965704b
commit
eb885016f5
|
|
@ -150,7 +150,7 @@ public class ConsInfoServiceImpl extends ServiceImpl<ConsInfoMapper, ConsInfo> i
|
|||
public boolean deleteConsInfo(Long id) {
|
||||
Long shopId = StpKit.USER.getShopId(0L);
|
||||
super.remove(query().eq(ConsInfo::getId, id).eq(ConsInfo::getShopId, shopId));
|
||||
prodConsRelationMapper.deleteByQuery(query().eq(ProdConsRelation::getConsInfoId, id).eq(ProdConsRelation::getShopId, shopId));
|
||||
prodConsRelationMapper.deleteByQuery(query().eq(ProdConsRelation::getConsInfoId, id));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue