|
|
|
@@ -68,6 +68,7 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
long merchantid = idWorker.nextId(); |
|
|
|
wxMerchant.setId(merchantid); |
|
|
|
Date date = new Date(); |
|
|
|
wxMerchant.setStatus(1); |
|
|
|
wxMerchant.setUpdateDate(date); |
|
|
|
wxMerchant.setCreateDate(date); |
|
|
|
wxMerchantMapper.insertSelective(wxMerchant); |
|
|
|
@@ -127,7 +128,7 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
//更新商铺状态 |
|
|
|
WxShop wxShop = new WxShop(); |
|
|
|
wxShop.setId(merchantShop.getShopId()); |
|
|
|
wxShop.setStatus(0);//已出租 |
|
|
|
wxShop.setStatus(0);//未出租 |
|
|
|
WxShopMapper.updateByPrimaryKeySelective(wxShop); |
|
|
|
} |
|
|
|
|
|
|
|
|