|
@@ -252,8 +252,8 @@ public class GameTencentOrderServiceImpl extends ServiceImpl<GameTencentOrderMap
|
|
|
backMsg = backInfo.third;
|
|
|
}
|
|
|
BackStatusEnum backStatus = BackStatusEnum.NO;
|
|
|
+ orderLog.setBackMoney(backMoney);
|
|
|
if (doBack) {
|
|
|
- orderLog.setBackMoney(backMoney);
|
|
|
backStatus = doCallback(orderLog);
|
|
|
}
|
|
|
return update(new LambdaUpdateWrapper<GameTencentOrder>()
|
|
@@ -324,7 +324,10 @@ public class GameTencentOrderServiceImpl extends ServiceImpl<GameTencentOrderMap
|
|
|
public boolean tencentOrderReport(List<Long> ids, Long backMoney) {
|
|
|
listByIds(ids).stream()
|
|
|
.filter(order -> !Objects.equals(order.getIsBack(), BackStatusEnum.SUCCESS.getBackStatus()))
|
|
|
- .forEach(orderLog -> orderBack(orderLog, true, backMoney));
|
|
|
+ .forEach(orderLog -> {
|
|
|
+ log.error("手动回传:{}-{}", orderLog.getId(), backMoney);
|
|
|
+ orderBack(orderLog, true, backMoney);
|
|
|
+ });
|
|
|
return true;
|
|
|
}
|
|
|
|
|
@@ -333,7 +336,7 @@ public class GameTencentOrderServiceImpl extends ServiceImpl<GameTencentOrderMap
|
|
|
ActionTypeEnum.PURCHASE.getActionType() : ActionTypeEnum.COMPLETE_ORDER.getActionType();
|
|
|
Map<String, Object> actionParam = new HashMap<>(2);
|
|
|
actionParam.put("claim_type", 0);
|
|
|
- actionParam.put("value", orderLog.getRechargeMoney());
|
|
|
+ actionParam.put("value", orderLog.getBackMoney());
|
|
|
DataReportOfAppIdRpcDTO dataReportOfAppIdRpcDTO = DataReportOfAppIdRpcDTO.builder()
|
|
|
.appId(orderLog.getWechatAppId())
|
|
|
.userActionSetId(orderLog.getUserActionSetId())
|