update:米东三方接口数据

This commit is contained in:
Yuan
2025-07-31 15:27:47 +08:00
parent 6b49fbfaca
commit d773108ac0
12 changed files with 1653 additions and 99 deletions

View File

@@ -44,6 +44,7 @@ public class ThirdBillLogController {
private ThirdFtpConfigService thirdFtpConfigService;
@Autowired
private ThirdSftpConfigService thirdSftpConfigService;
@@ -131,16 +132,25 @@ public class ThirdBillLogController {
String thirdConfigId = StringDUtil.changeNullToEmpty(bankbillGetinfo.get("THIRDCONFIGID"));
//查询配置
HashMap<Object, Object> searchThirdMap = new HashMap<>();
searchThirdMap.put("FUBS", "1");
HashMap<Object,Object> searchConfigMap=new HashMap<>();
searchConfigMap.put("thirdConfigId",thirdConfigId);
List<HashMap<Object, Object>> wlConfigList = thirdSftpConfigService.findWLIF(searchThirdMap);
HashMap<Object, Object> resultMap = new HashMap<>();
if (thirdConfigId.equals("999")){
//这里暂时将建行龙支付的情况写死在这里,后续优化
searchConfigMap.put("FUBS","1");
List<HashMap<Object, Object>> wlifList = thirdFtpConfigService.findWLIF(searchConfigMap);
resultMap = BankGetData.oneExecute(quartz_id, quartz_name, trade_date,wlifList.get(0));
}else {
List<HashMap<Object,Object>> thirdFtpConfigList =thirdFtpConfigService.findThirdFtpConfigList(searchConfigMap);
resultMap = BankGetData.oneExecute(quartz_id, quartz_name, trade_date,thirdFtpConfigList.get(0));
}
//
// HashMap<Object, Object> searchConfigMap = new HashMap<>();
// searchConfigMap.put("thirdConfigId", thirdConfigId);
// List<HashMap<Object, Object>> thirdFtpConfigList = thirdFtpConfigService.findThirdFtpConfigList(searchConfigMap);
HashMap<Object, Object> resultMap = BankGetData.oneExecute(quartz_id, quartz_name, trade_date, wlConfigList.get(0));
errCode = StringDUtil.changeNullToEmpty(resultMap.get("errCode"));
errMsg = StringDUtil.changeNullToEmpty(resultMap.get("errMsg"));