汇总部分数据,分类逻辑更改,规格去空格
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
||||
/**
|
||||
* 商品销量
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class ProductVO {
|
||||
|
||||
private Integer productId;
|
||||
|
||||
private String productName;
|
||||
|
||||
private BigDecimal productNum;
|
||||
|
||||
|
||||
public Integer getProductId() {
|
||||
return productId;
|
||||
}
|
||||
|
||||
public void setProductId(Integer productId) {
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
public String getProductName() {
|
||||
return productName;
|
||||
}
|
||||
|
||||
public void setProductName(String productName) {
|
||||
this.productName = productName;
|
||||
}
|
||||
|
||||
public BigDecimal getProductNum() {
|
||||
return productNum;
|
||||
}
|
||||
|
||||
public void setProductNum(BigDecimal productNum) {
|
||||
this.productNum = productNum;
|
||||
}
|
||||
|
||||
public ProductVO() {
|
||||
this.productId = productId;
|
||||
this.productName = productName;
|
||||
this.productNum = productNum;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class SummaryVO {
|
||||
/**
|
||||
* 总销售额
|
||||
*/
|
||||
private BigDecimal totalSales;
|
||||
/**
|
||||
* 今日销售额
|
||||
*/
|
||||
private BigDecimal todaySales;
|
||||
/**
|
||||
* 平均每单
|
||||
*/
|
||||
private BigDecimal averageSales;
|
||||
/**
|
||||
* 支付笔数
|
||||
*/
|
||||
private Long paymentsNumber;
|
||||
/**
|
||||
* 今天支付笔数
|
||||
*/
|
||||
private Integer todayPaymentsNumber;
|
||||
/**
|
||||
* 商品统计数据
|
||||
*/
|
||||
private List<ProductVO> productInfoList;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user