|
@@ -97,7 +97,7 @@ public class TpShopTypeServiceImpl extends ServiceImpl<TpShopTypeMapper, TpShopT
|
97
|
97
|
tpShop.eq("shop_type_id",id.toString());
|
98
|
98
|
List<TpShop> tpShopList=tpShopMapper.selectList(tpShop);
|
99
|
99
|
for (TpShop shop:tpShopList){
|
100
|
|
- shop.setShopTypeId(null);
|
|
100
|
+ shop.setShopTypeId();
|
101
|
101
|
tpShopMapper.updateById(shop);
|
102
|
102
|
}
|
103
|
103
|
shopTypeMapper.deleteById(id.toString());
|