Commit 6bd27135 authored by BlackJokerCJ's avatar BlackJokerCJ

xiyi

parent c26d5508
...@@ -44,8 +44,15 @@ public class CreditThirdDataJob { ...@@ -44,8 +44,15 @@ public class CreditThirdDataJob {
for (int i = 0; i < jsonArray.size(); i++) { for (int i = 0; i < jsonArray.size(); i++) {
JSONObject jsonObject = (JSONObject) jsonArray.get(i); JSONObject jsonObject = (JSONObject) jsonArray.get(i);
log.info("dataSource:[{}],data:[{}]",jsonObject.getString("dataSource"),jsonObject.getJSONObject("data")); log.info("dataSource:[{}],data:[{}]",jsonObject.getString("dataSource"),jsonObject.getJSONObject("data"));
if("TENCENT_FRAUD_VIP".equals(jsonObject.getString("dataSource"))){
thirdData.put("PD_TENCENT_FRAUD",jsonObject.getJSONObject("data"));
}else if("TENCENT_FRAUD_SUMMIT".equals(jsonObject.getString("dataSource"))){
thirdData.put("PD_TENCENT_FRAUD_VIP",jsonObject.getJSONObject("data"));
}else{
thirdData.put(jsonObject.getString("dataSource"),jsonObject.getJSONObject("data")); thirdData.put(jsonObject.getString("dataSource"),jsonObject.getJSONObject("data"));
} }
}
StringBuffer filePath = new StringBuffer(); StringBuffer filePath = new StringBuffer();
filePath.append("zhenong").append("/").append(DateFormatUtils.format(new Date(), "yyyyMMdd")).append("/").append(c.getOrderNo()).append("/"); filePath.append("zhenong").append("/").append(DateFormatUtils.format(new Date(), "yyyyMMdd")).append("/").append(c.getOrderNo()).append("/");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment