Просмотр исходного кода

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

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
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);


Загрузка…
Отмена
Сохранить