update:建行龙支付区分自助机住院账单

This commit is contained in:
Elliott
2026-01-13 16:46:39 +08:00
parent bad857217d
commit 1e21ea3c81

View File

@@ -716,13 +716,18 @@ public class BankGetDataMethodByJHLZF {
bankbillHistory.setCZddh(""); // 子订单号(空)
bankbillHistory.setBillTableName("建行龙支付对账单"); // 对账表名
// 根据终端号判断是否为住院订单
// 终端号为10091548或10091549的为住院订单不参与对账
if ("10091548".equals(zdh) || "10091549".equals(zdh) || "10091546".equals(zdh) || "10091547".equals(zdh) || "10091544".equals(zdh) || "10091545".equals(zdh)) {
bankbillHistory.setIsInpatient("1"); // 标记为住院订单
log.info("标记为住院订单: 终端号=" + zdh + ", 订单号=" + bankbillHistory.getCShddh());
String shddh = bankbillHistory.getCShddh();
if ("10091548".equals(zdh)
|| "10091549".equals(zdh)
|| "10091546".equals(zdh)
|| "10091547".equals(zdh)
|| "10091544".equals(zdh)
|| "10091545".equals(zdh)
|| (shddh != null && shddh.endsWith("ZZJZY"))) {
bankbillHistory.setIsInpatient("1");
log.info("标记为住院订单: 终端号=" + zdh + ", 订单号=" + shddh);
} else {
bankbillHistory.setIsInpatient("0"); // 标记为非住院订单
bankbillHistory.setIsInpatient("0");
}
bankbillHistoryList.add(bankbillHistory);