bugfix:对账过滤预交金

This commit is contained in:
Yuan
2025-11-18 17:01:03 +08:00
parent febe81ac00
commit 446b7cb1c0
3 changed files with 32 additions and 0 deletions

View File

@@ -91,6 +91,17 @@ public class ReconciliationMethod {
}
searchMap.put("medical_insurance_code", medical_insurance_code);
// 查询预交金支付方式payType=7的dicvalue常规对账需要排除
String prepayment_code = "";
HashMap<String, String> prepaymentSearchMap = new HashMap<>();
prepaymentSearchMap.put("parentCode", "PAY_TYPE");
prepaymentSearchMap.put("dicname", "预交金");
List<HashMap<Object, Object>> prepaymentPayTypeList = dicinfoService.selectDicinfoListByCondition(prepaymentSearchMap);
if (prepaymentPayTypeList != null && prepaymentPayTypeList.size() > 0) {
prepayment_code = StringDUtil.changeNullToEmpty(prepaymentPayTypeList.get(0).get("DICVALUE"));
}
searchMap.put("prepayment_code", prepayment_code);
//查询his和三方记录
List<HashMap<Object, Object>> hisbillsList = hisbillsHistoryService.findHisBillsByDate(searchMap);