mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
update 重试运营商分账方法
This commit is contained in:
@@ -17,6 +17,7 @@ import com.jsowell.adapay.service.AdapayService;
|
||||
import com.jsowell.adapay.vo.OrderSplitResult;
|
||||
import com.jsowell.adapay.vo.PaymentInfo;
|
||||
import com.jsowell.common.annotation.CostTime;
|
||||
import com.jsowell.common.constant.Constants;
|
||||
import com.jsowell.common.constant.RabbitConstants;
|
||||
import com.jsowell.common.core.domain.ykc.TransactionRecordsData;
|
||||
import com.jsowell.common.core.redis.RedisCache;
|
||||
@@ -1107,7 +1108,7 @@ public class TempService {
|
||||
// 是否重新计算
|
||||
String reCalculateFlag = dto.getReCalculateFlag();
|
||||
String reCalculateFlagResult = orderCode + "本次未重新计算订单";
|
||||
if (StringUtils.equals(reCalculateFlag, "1")) {
|
||||
if (StringUtils.equals(reCalculateFlag, Constants.ONE)) {
|
||||
LocalDateTime localDateTime = DateUtils.date2LocalDateTime(orderBasicInfo.getSettlementTime());
|
||||
// 开始时间为localDateTime减30秒
|
||||
LocalDateTime startTime = localDateTime.minusSeconds(30);
|
||||
@@ -1179,7 +1180,7 @@ public class TempService {
|
||||
// 是否重新退款
|
||||
String reRefundFlag = dto.getReRefundFlag();
|
||||
String reRefundFlagResult = orderCode + "本次未重新退款";
|
||||
if (StringUtils.equals(reRefundFlag, "1")) {
|
||||
if (StringUtils.equals(reRefundFlag, Constants.ONE)) {
|
||||
// 订单退款,汇付退款
|
||||
try {
|
||||
orderBasicInfoService.refundMethod(afterSettleOrderDTO);
|
||||
@@ -1194,7 +1195,7 @@ public class TempService {
|
||||
// 是否重新分账
|
||||
String reSplitFlag = dto.getReSplitFlag();
|
||||
String reSplitFlagResult = orderCode + "本次未重新分账";
|
||||
if (StringUtils.equals(reSplitFlag, "1")) {
|
||||
if (StringUtils.equals(reSplitFlag, Constants.ONE)) {
|
||||
try {
|
||||
orderBasicInfoService.splittingMethod(afterSettleOrderDTO);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user