From 39d0fef7f746f03f1c3fae978e3624b3040dcc24 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Thu, 24 Jan 2019 15:19:11 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=89=A9=E4=B8=9A=E5=90=88=E5=90=8C][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WxPropertyContractServiceImpl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java index 5557d5cbb..134c9230e 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -119,22 +119,22 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService return new ResultData(ErrorCode.MERCHANT_INFO_NOT_FOUND); } if (null == record.getReceivePeriod()) { - return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL, "付款周期不能为空"); + return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "付款周期不能为空"); } if (null == record.getLease()) { - return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL, "租期不能为空"); + return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "租期不能为空"); } if (null == record.getPrice()) { - return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL, "物业费不能为空"); + return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "物业费不能为空"); } if (null == record.getDeposit()) { - return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL, "押金不能为空"); + return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "押金不能为空"); } if (record.getPrice().intValue() <= 0) { - return new ResultData(ErrorCode.SYS_PARAMETER_ERROR, "物业费要大于0"); + return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(), "物业费要大于0"); } if (record.getDeposit().intValue() <= 0) { - return new ResultData(ErrorCode.SYS_PARAMETER_ERROR, "押金要大于0"); + return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(), "押金要大于0"); } WxPropertyContract propertyContract = new WxPropertyContract();