BUG
fwq
2023-12-14 cb7d81c3b48ddcc3eab0c154bcfa7bffd8f6f491
BUG
1个文件已修改
4 ■■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java
@@ -1547,8 +1547,8 @@
            orderInfo.setIsEmployeeDiscount(0);
            orderInfo.setDiscount(defaultDiscount);
        } else {
            orderInfo.setIsEmployeeDiscount(StringUtils.noNull(ordersTotal.getKoapOrderId()) ? 0 : ordersTotal.getOrderInfo().getIsEmployeeDiscount());
            orderInfo.setIsWholeDiscount(StringUtils.noNull(ordersTotal.getKoapOrderId()) ? 0 : ordersTotal.getOrderInfo().getIsWholeDiscount());
            orderInfo.setIsEmployeeDiscount(StringUtils.noNull(ordersTotal.getKoapOrderId()) ? BaseEntity.NO : ordersTotal.getOrderInfo().getIsEmployeeDiscount());
            orderInfo.setIsWholeDiscount(StringUtils.noNull(ordersTotal.getKoapOrderId()) ? BaseEntity.NO : ordersTotal.getOrderInfo().getIsWholeDiscount());
            if (StringUtils.noNull(ordersTotal.getKoapOrderId())) {
                orderInfo.setDiscount(defaultDiscount);
            } else {