update:建行龙支付对账

This commit is contained in:
Yuan
2025-11-03 11:42:55 +08:00
parent 34065c1c8b
commit 3b60a2d495
2 changed files with 28 additions and 26 deletions

View File

@@ -81,19 +81,19 @@ public class BankbillHistoryServiceImpl implements BankbillHistoryService {
for (int i1 = 0; i1 < payMethodList.size(); i1++) {
Dicinfo dicinfo = payMethodList.get(i1);
String dicname = dicinfo.getDicname();
//微信 支付宝 现金 特殊处理下
if (dicname.contains("微信")){
payMethodMap.put("微信",dicinfo.getDicvalue());
payMethodMap.put("微信支付",dicinfo.getDicvalue());
}else if(dicname.contains("支付宝")){
payMethodMap.put("支付宝",dicinfo.getDicvalue());
payMethodMap.put("支付宝支付",dicinfo.getDicvalue());
}else if (dicname.contains("云闪付")){
payMethodMap.put("云闪",dicinfo.getDicvalue());
payMethodMap.put("云闪付支付",dicinfo.getDicvalue());
String dicvalue = dicinfo.getDicvalue();
// 首先精确映射字典名到字典值
payMethodMap.put(dicname, dicvalue);
// 特殊处理:添加简写映射(只对非退款类型)
if ("微信支付".equals(dicname)) {
payMethodMap.put("微信", dicvalue);
} else if ("支付宝支".equals(dicname)) {
payMethodMap.put("支付", dicvalue);
} else if ("云闪付支付".equals(dicname)) {
payMethodMap.put("云闪付", dicvalue);
}
payMethodMap.put(dicinfo.getDicname(),dicinfo.getDicvalue());
}
int listNum=0;
@@ -147,10 +147,6 @@ public class BankbillHistoryServiceImpl implements BankbillHistoryService {
zffs = payMethodMap.get("其他支付");
}
}
// 添加调试日志
org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(this.getClass());
log.info("建行龙支付映射 - 原始支付方式: [" + cZffsLower + "], 映射后字典值: [" + zffs + "]");
} else {
zffs = payMethodMap.get("其他支付");
}