| | |
| | | wrapper.eq(CapitalInfo::getCollionMode, ENABLE_FLAG); // 联登模式:半流程 |
| | | wrapper.isNull(CapitalInfo::getAlwayShow); // 是否一直显示:是 |
| | | wrapper.orderByAsc(CapitalInfo::getSeq); // 按序号升序排列 |
| | | log.info("获取要推送的半流程资方的条件---getCapitalInfoList:{}", wrapper); |
| | | return capitalInfoService.list(wrapper); // 返回匹配的资金信息列表 |
| | | } |
| | | |
| | |
| | | wrapper.eq(CapitalInfo::getAutoPush, DISABLE_FLAG); // 自动推送:启用 |
| | | wrapper.eq(CapitalInfo::getCollionMode, DISABLE_FLAG); // 联登模式:非半流程 |
| | | wrapper.orderByAsc(CapitalInfo::getSeq); // 按序号升序排列 |
| | | log.info("获取要推送的非半流程资方---getNotHalfCapitalInfoList:{}", wrapper); |
| | | return capitalInfoService.list(wrapper); // 返回匹配的资金信息列表 |
| | | } |
| | | |
| | |
| | | List<CapitalInfo> capitalInfoList = getCapitalInfoList(); |
| | | for (CapitalInfo capitalInfo : capitalInfoList) { |
| | | Map<String, String> config = getConfigByCapitalName(capitalInfo.getName());// 获取对应的配置 |
| | | log.info("日志编号:{},{}方法:{}, 资方名:【{}】,result: {}", logNumber, basicInfo.get("targetName"), action, capitalInfo.getName(), config); // 记录资金信息 |
| | | log.info("日志编号:{},{}方法:{}, 资方名:【{}】,config配置信息: {}", logNumber, basicInfo.get("targetName"), action, capitalInfo.getName(), config); // 记录资金信息 |
| | | JSONObject fullData = new JSONObject();// 创建完整数据的JSON对象 |
| | | fullData.putOpt("partner_id", config.get("partnerId")); // 设置合作伙伴ID |
| | | fullData.putOpt("timestamp", System.currentTimeMillis());// 设置当前时间戳 |