update:建行账单接入
This commit is contained in:
@@ -119,6 +119,43 @@ public class BankbillHistoryServiceImpl implements BankbillHistoryService {
|
||||
zffs = payMethodMap.get("掌医支付");
|
||||
bankbillHistory.setCZffs(zffs);
|
||||
}
|
||||
else if ("建行龙支付对账单".equals(billTableName)){
|
||||
// 建行龙支付对账单的支付方式映射
|
||||
if (cZffs != null && !cZffs.trim().isEmpty()) {
|
||||
String cZffsLower = cZffs.trim();
|
||||
|
||||
// 优先精确匹配
|
||||
zffs = payMethodMap.get(cZffsLower);
|
||||
|
||||
// 如果精确匹配失败,进行模糊匹配
|
||||
if (zffs == null) {
|
||||
// 根据支付方式名称映射到字典值(按优先级匹配)
|
||||
if (cZffsLower.contains("微信退款")) {
|
||||
zffs = payMethodMap.get("微信退款");
|
||||
} else if (cZffsLower.contains("支付宝退款")) {
|
||||
zffs = payMethodMap.get("支付宝退款");
|
||||
} else if (cZffsLower.contains("微信")) {
|
||||
zffs = payMethodMap.get("微信支付");
|
||||
} else if (cZffsLower.contains("支付宝")) {
|
||||
zffs = payMethodMap.get("支付宝支付");
|
||||
} else if (cZffsLower.contains("云闪付")) {
|
||||
zffs = payMethodMap.get("云闪付支付");
|
||||
} else if (cZffsLower.contains("刷卡") || cZffsLower.contains("银联") || cZffsLower.contains("银行卡")) {
|
||||
zffs = payMethodMap.get("刷卡支付");
|
||||
} else {
|
||||
// 都匹配不到,使用其他支付
|
||||
zffs = payMethodMap.get("其他支付");
|
||||
}
|
||||
}
|
||||
|
||||
// 添加调试日志
|
||||
org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(this.getClass());
|
||||
log.info("建行龙支付映射 - 原始支付方式: [" + cZffsLower + "], 映射后字典值: [" + zffs + "]");
|
||||
} else {
|
||||
zffs = payMethodMap.get("其他支付");
|
||||
}
|
||||
bankbillHistory.setCZffs(zffs);
|
||||
}
|
||||
else{
|
||||
if (zffs==null){
|
||||
zffs = payMethodMap.get("其他支付");
|
||||
|
||||
@@ -184,4 +184,9 @@ public class HisDetailServiceImpl implements HisDetailService {
|
||||
return hisDetailMapper.findMedicalInsuranceGroupData(map);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<HashMap<Object, Object>> findHisDetailWithZfAmount(HashMap<Object, Object> map) throws Exception {
|
||||
return hisDetailMapper.findHisDetailWithZfAmount(map);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -164,5 +164,15 @@ public class TransactionDetailServiceImpl implements TransactionDetailService {
|
||||
transactionDetailMapper.addNotUniqueData(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateJoinDateByThird(HashMap<Object, Object> map) throws Exception {
|
||||
transactionDetailMapper.updateJoinDateByThird(map);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteJoinDataByThird(HashMap<Object, Object> map) throws Exception {
|
||||
transactionDetailMapper.deleteJoinDataByThird(map);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -76,4 +76,14 @@ public class UnilateralServiceImpl implements UnilateralService {
|
||||
public void deleteUnilateralByIdandStatus(HashMap<Object, Object> map) throws Exception {
|
||||
unilateralMapper.deleteUnilateralByIdandStatus(map);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateUnilateralById(HashMap<Object, Object> map) throws Exception {
|
||||
unilateralMapper.updateUnilateralById(map);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteUnilateralById(HashMap<Object, Object> map) throws Exception {
|
||||
unilateralMapper.deleteUnilateralById(map);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user