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())) {