dingxin vor 6 Jahren
Ursprung
Commit
c38466ea4c

+ 1
- 1
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpShopTypeServiceImpl.java Datei anzeigen

@@ -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());