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 6ad96de44..63c70ef8e 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -118,6 +118,13 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService result.put("propertyOweCount",wxPropertyContractMapper.queryOweCount(propertyContract)); //押金欠缴 result.put("depositOweCount",wxBillPropertyDepositMapper.queryOweCount(propertyContract)); + //押金状态 + WxBillPropertyDeposit wxBillPropertyDeposit = new WxBillPropertyDeposit(); + wxBillPropertyDeposit.setPropertyContractId(id); + List select = wxBillPropertyDepositMapper.select(wxBillPropertyDeposit); + if (!select.isEmpty()) { + result.put("depositStatus", select.get(0).getStatus()); + } //发起人备注 WxFlowRecord wxFlowRecord = new WxFlowRecord(); wxFlowRecord.setBusinessId(id); 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 a77bbaeb6..0ad67c9f7 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -159,6 +159,13 @@ public class WxRentContractServiceImpl implements WxRentContractService { result.put("propertyOweCount",wxPropertyContractMapper.queryOweCount(propertyContract)); //押金欠缴 result.put("depositOweCount",wxBillDepositMapper.queryOweCount(wxRentContract)); + //押金状态 + WxBillDeposit wxBillDeposit = new WxBillDeposit(); + wxBillDeposit.setRentContractId(id); + List select = wxBillDepositMapper.select(wxBillDeposit); + if (!select.isEmpty()) { + result.put("depositStatus", select.get(0).getStatus()); + } //发起人备注 WxFlowRecord wxFlowRecord = new WxFlowRecord(); wxFlowRecord.setBusinessId(id);