|
@ -123,7 +123,6 @@ public class OtherServiceImpl implements OtherService { |
|
|
String desjwcode= des.encrypt(JwCode); |
|
|
String desjwcode= des.encrypt(JwCode); |
|
|
System.out.println("desjwcode:"+desjwcode); |
|
|
System.out.println("desjwcode:"+desjwcode); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 创建 JSON 请求体 |
|
|
// 创建 JSON 请求体 |
|
|
Map<String, String> requestBody = new HashMap<>(); |
|
|
Map<String, String> requestBody = new HashMap<>(); |
|
|
requestBody.put("jwcode", desjwcode); |
|
|
requestBody.put("jwcode", desjwcode); |
|
@ -184,6 +183,7 @@ public class OtherServiceImpl implements OtherService { |
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
detailY.setRechargeWay(Way); |
|
|
detailY.setRechargeWay(Way); |
|
|
detailY.setArea(country); |
|
|
detailY.setArea(country); |
|
|
|
|
|
detailY.setCreateTime(erp.getCreateTime()); |
|
|
|
|
|
|
|
|
detailY.setUsername(name); |
|
|
detailY.setUsername(name); |
|
|
|
|
|
|
|
@ -203,6 +203,8 @@ public class OtherServiceImpl implements OtherService { |
|
|
detailY.setProductName(productName); |
|
|
detailY.setProductName(productName); |
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
detailY.setConsumeType(Way); |
|
|
detailY.setConsumeType(Way); |
|
|
|
|
|
|
|
|
|
|
|
detailY.setCreateTime(erp.getCreateTime()); |
|
|
} else if (typesToUpdateTwo.contains(type)) { |
|
|
} else if (typesToUpdateTwo.contains(type)) { |
|
|
System.out.println("退款------------------------------------------------------"); |
|
|
System.out.println("退款------------------------------------------------------"); |
|
|
detailY.setUpdateType(2); // 设置 updateType 为 2 |
|
|
detailY.setUpdateType(2); // 设置 updateType 为 2 |
|
@ -217,6 +219,8 @@ public class OtherServiceImpl implements OtherService { |
|
|
detailY.setProductName(productName); |
|
|
detailY.setProductName(productName); |
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
detailY.setRefundType(Way); |
|
|
detailY.setRefundType(Way); |
|
|
|
|
|
|
|
|
|
|
|
detailY.setCreateTime(erp.getCreateTime()); |
|
|
}else if (typesToUpdateThree.contains(type)) { |
|
|
}else if (typesToUpdateThree.contains(type)) { |
|
|
System.out.println("其他------------------------------------------------------"); |
|
|
System.out.println("其他------------------------------------------------------"); |
|
|
detailY.setUpdateType(3); // 设置 updateType 为 3 |
|
|
detailY.setUpdateType(3); // 设置 updateType 为 3 |
|
@ -231,6 +235,8 @@ public class OtherServiceImpl implements OtherService { |
|
|
detailY.setProductName(productName); |
|
|
detailY.setProductName(productName); |
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
detailY.setReson(Way); |
|
|
detailY.setReson(Way); |
|
|
|
|
|
|
|
|
|
|
|
detailY.setCreateTime(erp.getCreateTime()); |
|
|
} |
|
|
} |
|
|
// 添加其他业务逻辑 |
|
|
// 添加其他业务逻辑 |
|
|
System.out.println(detailY+"-----测试能否传输------"); |
|
|
System.out.println(detailY+"-----测试能否传输------"); |
|
|