瀏覽代碼

[合同审批][修改][查询押金状态]

release_toaliyun_real
gongbiao 7 年之前
父節點
當前提交
bc1637e681
共有 2 個檔案被更改,包括 14 行新增0 行删除
  1. +7
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java
  2. +7
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 7
- 0
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<WxBillPropertyDeposit> select = wxBillPropertyDepositMapper.select(wxBillPropertyDeposit);
if (!select.isEmpty()) {
result.put("depositStatus", select.get(0).getStatus());
}
//发起人备注
WxFlowRecord wxFlowRecord = new WxFlowRecord();
wxFlowRecord.setBusinessId(id);


+ 7
- 0
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<WxBillDeposit> select = wxBillDepositMapper.select(wxBillDeposit);
if (!select.isEmpty()) {
result.put("depositStatus", select.get(0).getStatus());
}
//发起人备注
WxFlowRecord wxFlowRecord = new WxFlowRecord();
wxFlowRecord.setBusinessId(id);


Loading…
取消
儲存