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