|
|
@ -91,18 +91,16 @@ public class OtherServiceImpl implements OtherService { |
|
|
|
typesToUpdateTwo.add("59"); |
|
|
|
typesToUpdateTwo.add("61"); |
|
|
|
|
|
|
|
typesToUpdateThree.add("9"); |
|
|
|
typesToUpdateThree.add("15"); |
|
|
|
typesToUpdateThree.add("17"); |
|
|
|
typesToUpdateThree.add("25"); |
|
|
|
typesToUpdateThree.add("27"); |
|
|
|
typesToUpdateThree.add("37"); |
|
|
|
typesToUpdateThree.add("41"); |
|
|
|
typesToUpdateThree.add("42"); |
|
|
|
typesToUpdateThree.add("43"); |
|
|
|
typesToUpdateThree.add("50"); |
|
|
|
typesToUpdateThree.add("51"); |
|
|
|
typesToUpdateThree.add("52"); |
|
|
|
typesToUpdateThree.add("10"); |
|
|
|
typesToUpdateThree.add("16"); |
|
|
|
typesToUpdateThree.add("30"); |
|
|
|
typesToUpdateThree.add("31"); |
|
|
|
typesToUpdateThree.add("32"); |
|
|
|
typesToUpdateThree.add("33"); |
|
|
|
typesToUpdateThree.add("34"); |
|
|
|
typesToUpdateThree.add("39"); |
|
|
|
typesToUpdateThree.add("44"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
@ -172,6 +170,7 @@ public class OtherServiceImpl implements OtherService { |
|
|
|
|
|
|
|
|
|
|
|
if (typesToUpdateZero.contains(type)) { |
|
|
|
System.out.println("充值------------------------------------------------------"); |
|
|
|
detailY.setUpdateType(0);// 设置 updateType 为 0 |
|
|
|
detailY.setJwcode(JwCode); |
|
|
|
detailY.setRechargeCoin(rechargeJb); |
|
|
@ -191,6 +190,7 @@ public class OtherServiceImpl implements OtherService { |
|
|
|
|
|
|
|
|
|
|
|
} else if (typesToUpdateOne.contains(type)) { |
|
|
|
System.out.println("消费------------------------------------------------------"); |
|
|
|
detailY.setUpdateType(1); // 设置 updateType 为 1 |
|
|
|
detailY.setJwcode(JwCode); |
|
|
|
detailY.setRechargeCoin(rechargeJb); |
|
|
@ -204,6 +204,7 @@ public class OtherServiceImpl implements OtherService { |
|
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
|
detailY.setConsumeType(Way); |
|
|
|
} else if (typesToUpdateTwo.contains(type)) { |
|
|
|
System.out.println("退款------------------------------------------------------"); |
|
|
|
detailY.setUpdateType(2); // 设置 updateType 为 2 |
|
|
|
detailY.setJwcode(JwCode); |
|
|
|
detailY.setRechargeCoin(rechargeJb); |
|
|
@ -217,6 +218,7 @@ public class OtherServiceImpl implements OtherService { |
|
|
|
detailY.setConsumePlatform("ERP系统"); |
|
|
|
detailY.setRefundType(Way); |
|
|
|
}else if (typesToUpdateThree.contains(type)) { |
|
|
|
System.out.println("其他------------------------------------------------------"); |
|
|
|
detailY.setUpdateType(3); // 设置 updateType 为 3 |
|
|
|
detailY.setJwcode(JwCode); |
|
|
|
detailY.setRechargeCoin(rechargeJb); |
|
|
@ -231,6 +233,7 @@ public class OtherServiceImpl implements OtherService { |
|
|
|
detailY.setReson(Way); |
|
|
|
} |
|
|
|
// 添加其他业务逻辑 |
|
|
|
System.out.println(detailY+"-----测试能否传输------"); |
|
|
|
return detailYMapper.add(detailY); |
|
|
|
} |
|
|
|
} |