Ver a proveniência

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

release_toaliyun_real
gongbiao há 7 anos
ascendente
cometimento
b28b6bb858
1 ficheiros alterados com 1 adições e 5 eliminações
  1. +1
    -5
      mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java

+ 1
- 5
mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java Ver ficheiro

@@ -299,13 +299,9 @@ public class WxMerchantServiceImpl implements WxMerchantService {
for (long shopid : shopidlist) {
WxShop shop = wxShopMapper.selectByPrimaryKey(shopid);
if (shop.getStatus().equals(EnumShopStatus.RENT.getCode())) {
rentShopList.add(shop);
return new ResultData(ErrorCode.SHOP_IS_RENT.getCode(), "店铺 " + shop.getShopNumber() + " 已出租");
}
}
//已出租的商铺
if (!rentShopList.isEmpty()) {
return new ResultData(ErrorCode.SHOP_IS_RENT, rentShopList);
}
//更新商铺
for (long shopid : shopidlist) {
//更新商铺状态


Carregando…
Cancelar
Guardar