|
|
|
@@ -474,6 +474,10 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
mcs.setUpdateDate(shopdate); |
|
|
|
mcs.setCreateDate(shopdate); |
|
|
|
wxMerchantShopMapper.insert(mcs); |
|
|
|
//更新商铺状态 |
|
|
|
WxShop sh = wxShopMapper.selectById(sid); |
|
|
|
sh.setStatus(EnumShopStatus.RENT.getCode()); |
|
|
|
wxShopMapper.updateById(sh); |
|
|
|
} |
|
|
|
return new ResultData(Result.SUCCESS, "商户更新成功"); |
|
|
|
} catch (Exception e) { |
|
|
|
|