|
|
|
@@ -6,6 +6,7 @@ import com.iformall.common.IdWorker; |
|
|
|
import com.iformall.domain.po.*; |
|
|
|
import com.iformall.enums.EnumAppType; |
|
|
|
import com.iformall.enums.EnumCarVendor; |
|
|
|
import com.iformall.enums.EnumShopStatus; |
|
|
|
import com.iformall.mapper.*; |
|
|
|
import com.iformall.service.WxMerchantService; |
|
|
|
import com.iformall.service.WxProfitSharingReceiverService; |
|
|
|
@@ -130,7 +131,7 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
//更新商铺状态 |
|
|
|
WxShop wxShop = new WxShop(); |
|
|
|
wxShop.setId(merchantShop.getShopId()); |
|
|
|
wxShop.setStatus(0);//未出租 |
|
|
|
wxShop.setStatus(EnumShopStatus.NOT_RENT.getCode());//未出租 |
|
|
|
WxShopMapper.updateByPrimaryKeySelective(wxShop); |
|
|
|
} |
|
|
|
} |
|
|
|
@@ -192,7 +193,7 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
//更新商铺状态 |
|
|
|
WxShop wxShop = new WxShop(); |
|
|
|
wxShop.setId(shopid); |
|
|
|
wxShop.setStatus(1);//已出租 |
|
|
|
wxShop.setStatus(EnumShopStatus.RENT.getCode());//已出租 |
|
|
|
WxShopMapper.updateByPrimaryKeySelective(wxShop); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -254,7 +255,7 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
//更新商铺状态 |
|
|
|
WxShop wxShop = new WxShop(); |
|
|
|
wxShop.setId(merchantShop.getShopId()); |
|
|
|
wxShop.setStatus(0);//未出租 |
|
|
|
wxShop.setStatus(EnumShopStatus.NOT_RENT.getCode());//未出租 |
|
|
|
WxShopMapper.updateByPrimaryKeySelective(wxShop); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -277,7 +278,7 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
//更新商铺状态 |
|
|
|
WxShop wxShop = new WxShop(); |
|
|
|
wxShop.setId(shopid); |
|
|
|
wxShop.setStatus(1);//已出租 |
|
|
|
wxShop.setStatus(EnumShopStatus.RENT.getCode());//已出租 |
|
|
|
WxShopMapper.updateByPrimaryKeySelective(wxShop); |
|
|
|
} |
|
|
|
|
|
|
|
|