diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderExcelVO.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderExcelVO.java index ba5d9ea1a..9c549ce61 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderExcelVO.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderExcelVO.java @@ -37,8 +37,10 @@ public class RechargeOrderExcelVO { private LocalDateTime payCompleteTime; @ExcelProperty("订单类型") private String type="普通订单"; - @ExcelProperty("订单状态") - private String status="已经完成"; + + @ExcelProperty(value = "订单状态",converter = DictConvert.class) + @DictFormat(DictTypeConstants.PYT_STATUS) + private Integer paid; @ExcelProperty("配送方式") private String deliveryType="快递(系统快递)(系统快递)"; @@ -86,6 +88,6 @@ public class RechargeOrderExcelVO { private String promoter; @ExcelProperty("组织名称") - private String depName; + private String parentOrganizationName; } diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderExportReqVO.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderExportReqVO.java index b0bc6caac..9183a2fde 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderExportReqVO.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderExportReqVO.java @@ -20,6 +20,8 @@ public class RechargeOrderExportReqVO { @Schema(description = "租户id") private Long tenantId; + @Schema(description = "商户名称") + private String tenantName; @Schema(description = "用户id", example = "28969") private Long uid; @@ -125,4 +127,7 @@ public class RechargeOrderExportReqVO { @Schema(description = "第三方支付流水号") private String paySerialNumber; + + private Long promoterId; + } diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderInfoExcelVO.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderInfoExcelVO.java index 117047462..a239490e0 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderInfoExcelVO.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/controller/admin/recharge/vo/RechargeOrderInfoExcelVO.java @@ -25,7 +25,7 @@ public class RechargeOrderInfoExcelVO { private String orderNo; @ExcelProperty("商户名称") - private String shopName; + private String tenantName; @ExcelProperty("产品名称") private String productName; diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/RechargeOrderServiceImpl.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/RechargeOrderServiceImpl.java index d17137615..4ebd663a5 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/RechargeOrderServiceImpl.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/RechargeOrderServiceImpl.java @@ -144,7 +144,7 @@ public class RechargeOrderServiceImpl implements RechargeOrderService { if(promoterDrawVO.getMemberCommission()==null){ promoterDrawVO.setMemberCommission(0); } - promoterDrawVO.setDrawAmount(NumberUtil.mul(promoterDrawNew.getDealAmount(),NumberUtil.div(promoterDrawVO.getMemberCommission().toString(),"100"),2)); + promoterDrawVO.setDrawAmount(NumberUtil.mul(promoterDrawNew.getDealAmount(),NumberUtil.div(promoterDrawVO.getMemberCommission().toString(),"100",2))); }else { promoterDrawVO.setDealAmount(new BigDecimal(0)); promoterDrawVO.setTotalAmount(new BigDecimal(0)); diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderInfoMapper.xml b/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderInfoMapper.xml index 70e37e6f3..728284b85 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderInfoMapper.xml +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderInfoMapper.xml @@ -11,7 +11,7 @@ - +