PRE环境, 修改逻辑

This commit is contained in:
Guoqs
2025-04-23 11:43:57 +08:00
parent 4764cd9515
commit 2d3a2b265a

View File

@@ -1994,7 +1994,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
String env = SpringUtils.getActiveProfile(); String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) { if (StringUtils.equalsIgnoreCase(env, "pre")) {
logger.debug("PRE环境不执行"); logger.debug("PRE环境不执行");
return null; // return null;
} }
// 结算金额 // 结算金额
BigDecimal orderSettleAmount = afterSettleOrderDTO.getOrderSettleAmount(); BigDecimal orderSettleAmount = afterSettleOrderDTO.getOrderSettleAmount();
@@ -2239,7 +2239,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
String env = SpringUtils.getActiveProfile(); String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) { if (StringUtils.equalsIgnoreCase(env, "pre")) {
logger.debug("PRE环境不执行"); logger.debug("PRE环境不执行");
return; // return;
} }
// 退款 // 退款
String mode = pileMerchantInfoService.getDelayModeByMerchantId(afterSettleOrderDTO.getMerchantId()); String mode = pileMerchantInfoService.getDelayModeByMerchantId(afterSettleOrderDTO.getMerchantId());