Browse Source

fix

release_toaliyun_real
winter 1 year ago
parent
commit
a9ef0334fd
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mallinkAdmin/src/main/java/com/iformall/controller/contract/WxPropertyContractController.java

+ 2
- 1
mallinkAdmin/src/main/java/com/iformall/controller/contract/WxPropertyContractController.java View File

@@ -174,7 +174,6 @@ public class WxPropertyContractController extends WxContractBaseController {
if (null == wxPropertyContract.getCreateType()) {
return new ResultData("createType参数不能为空");
}
wxPropertyContract.setContractNumber(null);
if (wxPropertyContract.getCreateType().intValue() == EnumPropertyCreateType.BY_SHOP.getCode().intValue()) {
if (StringUtils.isBlank(wxPropertyContract.getRentArea()) || StringUtils.isBlank(wxPropertyContract.getShopIds())) {
return new ResultData(Result.ERROR,"请选择店铺");
@@ -251,6 +250,8 @@ public class WxPropertyContractController extends WxContractBaseController {
MallUserInfo user = getUser();
wxPropertyContract.updateTenantInfo(user);
wxPropertyContract.setAdjustPeriodHandle();
wxPropertyContract.setContractNumber(null);
wxPropertyContract.setMerchantName(null);
if (null != wxPropertyContract.getFeeStandards() && wxPropertyContract.getFeeStandards().size() > 0 ) {
wxPropertyContract.setFeesStandardsInfo(JSON.toJSONString(wxPropertyContract.getFeeStandards()));
}


Loading…
Cancel
Save