From 3b073aa28d8c80940586acf0c9ebb6988899fa21 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Fri, 12 Jul 2019 20:03:51 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AF=BC=E5=87=BA][=E4=BF=AE=E6=94=B9]:?= =?UTF-8?q?=E7=A9=BA=E6=8C=87=E9=92=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/service/impl/WxRentContractServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java index 4ecf1d617..a2efd00f5 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -1533,7 +1533,11 @@ public class WxRentContractServiceImpl implements WxRentContractService { Integer receivePeriod = wxRentContract.getReceivePeriod(); result.put("lease", lease); result.put("receivePeriod", receivePeriod); - result.put("payAccount", wxRentContract.getPayAccount().equals("") ? " " : wxRentContract.getPayAccount()); + String payAccountStr = " "; + if(wxRentContract.getPayAccount() != null && !wxRentContract.getPayAccount().equals("")) { + payAccountStr = wxRentContract.getPayAccount(); + } + result.put("payAccount", payAccountStr); result.put("signDate", DateUtils.date2String(wxRentContract.getSignDate(), "yyyy-MM-dd")); //主体名称-乙方 if (StringUtils.isNotEmpty(wxRentContract.getSubjectName())) {