ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/ShopPoint.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/BalanceChangeRecordController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/excel/BalanceChangeRecordEX.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/excel/UserPointEx.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopPointController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/ShopPoint.java
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.core.annotation.Excel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -41,6 +42,7 @@ @ApiModelProperty(value = "变动类型(1=门店业绩,2=门店返佣,3=下级门店返佣)") @TableField("type") @Excel(name = "变动类型", readConverterExp = "1=门店业绩,2=门店返佣,3=下级门店返佣") private Integer type; @ApiModelProperty(value = "历史余额") @@ -49,10 +51,12 @@ @ApiModelProperty(value = "变动金额") @TableField("variable_point") @Excel(name = "变动金额") private Integer variablePoint; @ApiModelProperty(value = "变动时间") @TableField("create_time") @Excel(name = "变动时间") private LocalDateTime createTime; @ApiModelProperty(value = "变动用户id") @@ -65,14 +69,17 @@ @ApiModelProperty(value = "门店名称") @TableField(exist = false) @Excel(name = "门店名称") private String shopName; @ApiModelProperty(value = "店长姓名") @TableField(exist = false) @Excel(name = "店长姓名") private String shopLeaderName; @ApiModelProperty(value = "联系电话") @TableField(exist = false) @Excel(name = "联系电话") private String phone; @TableField(exist = false) ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/BalanceChangeRecordController.java
@@ -4,7 +4,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ruoyi.account.api.model.BalanceChangeRecord; import com.ruoyi.account.dto.BalanceQuery; import com.ruoyi.account.excel.BalanceChangeRecordEX; import com.ruoyi.account.service.BalanceChangeRecordService; import com.ruoyi.account.vo.CommissionStatistics; import com.ruoyi.common.core.domain.R; @@ -15,8 +14,6 @@ import javax.annotation.Resource; import javax.servlet.http.HttpServletResponse; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.List; /** ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/excel/BalanceChangeRecordEX.java
File was deleted ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/excel/UserPointEx.java
File was deleted ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopPointController.java
@@ -76,37 +76,10 @@ ShopPointStatistics statistics = shopPointService.statistics(Page.of(1, Integer.MAX_VALUE), shopPoint); if (statistics!=null){ IPage<ShopPoint> shopPointIPage = statistics.getShopPointIPage(); List<ShopPointEX> shopPointEXList = new ArrayList<>(); if (shopPointIPage!=null){ List<ShopPoint> records = shopPointIPage.getRecords(); if (records!=null){ for (ShopPoint record : records) { ShopPointEX shopPointEX = new ShopPointEX(); BeanUtils.copyBeanProp(shopPointEX, record); Integer type = record.getType(); switch (type) { case 1: shopPointEX.setType("门店业绩"); break; case 2: shopPointEX.setType("门店返佣"); break; default: shopPointEX.setType("下级门店返佣"); break; } shopPointEXList.add(shopPointEX); } } ExcelUtil<ShopPointEX> util = new ExcelUtil<>(ShopPointEX.class); util.exportExcel(response, shopPointEXList, "用户积分统计"); } ExcelUtil<ShopPoint> util = new ExcelUtil<>(ShopPoint.class); util.exportExcel(response, shopPointIPage.getRecords(), "用户积分统计"); } } }