数据统计
This commit is contained in:
@@ -32,5 +32,5 @@ public class SaleSummaryCountVo implements Serializable {
|
||||
/**
|
||||
* 退单量
|
||||
*/
|
||||
private Integer refundCount = 0;
|
||||
private BigDecimal refundCount = BigDecimal.ZERO;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.czg.order.vo;
|
||||
|
||||
import cn.idev.excel.annotation.ExcelIgnore;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import cn.idev.excel.annotation.write.style.ColumnWidth;
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import com.pig4cloud.plugin.excel.annotation.ExcelLine;
|
||||
import lombok.Data;
|
||||
@@ -17,6 +18,7 @@ import java.math.BigDecimal;
|
||||
* @since 2025-03-07 16:22
|
||||
*/
|
||||
@Data
|
||||
@ColumnWidth(30)
|
||||
public class SaleSummaryExportVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
package com.czg.order.vo;
|
||||
|
||||
import cn.idev.excel.annotation.ExcelIgnore;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import cn.idev.excel.annotation.write.style.ColumnWidth;
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import com.pig4cloud.plugin.excel.annotation.ExcelLine;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 销量统计明细
|
||||
@@ -13,42 +19,47 @@ import java.io.Serializable;
|
||||
*/
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@ColumnWidth(30)
|
||||
public class SaleSummaryInfoVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**
|
||||
* cateName
|
||||
* 导入时候回显行号
|
||||
*/
|
||||
private String cateName;
|
||||
@ExcelLine
|
||||
@ExcelIgnore
|
||||
@JSONField(serialize = false)
|
||||
private Long lineNum;
|
||||
/**
|
||||
* name
|
||||
* 商品分类
|
||||
*/
|
||||
private String name;
|
||||
@ExcelProperty("商品分类")
|
||||
private String categoryName;
|
||||
/**
|
||||
* productId
|
||||
* 商品名称
|
||||
*/
|
||||
private Integer productId;
|
||||
@ExcelProperty("商品名称")
|
||||
private String productName;
|
||||
/**
|
||||
* refAmount
|
||||
* 销量
|
||||
*/
|
||||
private Integer refAmount;
|
||||
@ExcelProperty("销量")
|
||||
private BigDecimal saleCount;
|
||||
/**
|
||||
* refNum
|
||||
* 销售金额
|
||||
*/
|
||||
private Integer refNum;
|
||||
@ExcelProperty("销售金额")
|
||||
private BigDecimal saleAmount;
|
||||
/**
|
||||
* salesAmount
|
||||
* 退单量
|
||||
*/
|
||||
private Integer salesAmount;
|
||||
@ExcelProperty("退单量")
|
||||
private BigDecimal refundCount;
|
||||
/**
|
||||
* salesNum
|
||||
* 退单金额
|
||||
*/
|
||||
private Integer salesNum;
|
||||
/**
|
||||
* typeEnum
|
||||
*/
|
||||
private String typeEnum;
|
||||
@ExcelProperty("退单金额")
|
||||
private BigDecimal refundAmount;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.czg.order.vo;
|
||||
|
||||
import cn.idev.excel.annotation.ExcelIgnore;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import cn.idev.excel.annotation.write.style.ColumnWidth;
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import com.pig4cloud.plugin.excel.annotation.ExcelLine;
|
||||
import lombok.Data;
|
||||
@@ -17,6 +18,7 @@ import java.math.BigDecimal;
|
||||
* @since 2025-03-07 16:22
|
||||
*/
|
||||
@Data
|
||||
@ColumnWidth(30)
|
||||
public class TableSummaryExportVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
|
||||
Reference in New Issue
Block a user