Przeglądaj źródła

[商户][修改][判断店铺已出租问题]

release_toaliyun_real
gongbiao 7 lat temu
rodzic
commit
f7dd1d18f2
1 zmienionych plików z 0 dodań i 1 usunięć
  1. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java

+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java Wyświetl plik

@@ -295,7 +295,6 @@ public class WxMerchantServiceImpl implements WxMerchantService {
return new ResultData(ErrorCode.SHOP_NOT_SELECTED); return new ResultData(ErrorCode.SHOP_NOT_SELECTED);
} }
//先检查是否存在已出租的商铺 //先检查是否存在已出租的商铺
List<WxShop> rentShopList = new ArrayList<>();
for (long shopid : shopidlist) { for (long shopid : shopidlist) {
WxShop shop = wxShopMapper.selectByPrimaryKey(shopid); WxShop shop = wxShopMapper.selectByPrimaryKey(shopid);
if (shop.getStatus().equals(EnumShopStatus.RENT.getCode())) { if (shop.getStatus().equals(EnumShopStatus.RENT.getCode())) {


Ładowanie…
Anuluj
Zapisz