fhx
2024-08-02 3854ff973263c852b16af1369ec6f58454093b97
1.修改部分退款时使用其他退款方式逻辑代码
1个文件已修改
9 ■■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/controller/refund/OrderRefundController.java 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/controller/refund/OrderRefundController.java
@@ -7,6 +7,7 @@
import com.hx.mybatisTool.SqlSentence;
import com.hx.phiappt.common.OrderTotalConstants;
import com.hx.phiappt.common.PayMethodTypeConstants;
import com.hx.phiappt.common.PlatformConstants;
import com.hx.phiappt.dao.mapper.OrdersTotalMapper;
import com.hx.phiappt.model.*;
import com.hx.phiappt.model.consume.ConsumeNotify;
@@ -158,8 +159,12 @@
        OrderRefundDto returnMap = orderRefundService.nextStep(ordersTotal,orderRefundDto);
        returnMap.setRefundPayMethod(returnMap.getPayMethodList());
        returnMap.setCouponList(returnMap.getPayCouponList());
        //处理其他现金退款支付方式列表
        handleOtherCashRefundMethodList(returnMap.getRefundPayMethod());
        if(!PlatformConstants.TYPE_PLATFORM_CRM.equals(ordersTotal.getAppIdCode())){
            handleOtherCashRefundMethodList(returnMap.getRefundPayMethod());
        }
        return Result.success(returnMap);
    }
@@ -479,6 +484,8 @@
                    || PayMethodTypeConstants.PAY_MONEY.equals(payMethodDto.getRefundNumberNo())
                    || PayMethodTypeConstants.PAY_INTEGRAL.equals(payMethodDto.getRefundNumberNo())
                    || PayMethodTypeConstants.PAY_INTEGRAL_CASH.equals(payMethodDto.getRefundNumberNo())
                    || PayMethodTypeConstants.PAY_CRM_WX.equals(payMethodDto.getRefundNumberNo())
                    || PayMethodTypeConstants.PAY_CRM_ZFB.equals(payMethodDto.getRefundNumberNo())
            ){
                continue;
            }