数据报表-销量 统计值

This commit is contained in:
2024-06-18 11:40:46 +08:00
parent d8b92aadf9
commit e9e72b6c48
4 changed files with 34 additions and 32 deletions

View File

@@ -4,6 +4,8 @@ package cn.ysk.cashier.vo;
public class TbOrderPayCountVo {
private String icon;
private String payType;
//是否展示金额标识
private String isAmount="1";
private Object payAmount;
public String getIcon() {
@@ -30,6 +32,15 @@ public class TbOrderPayCountVo {
this.payAmount = payAmount;
}
public String getIsAmount() {
return isAmount;
}
public void setIsAmount(String isAmount) {
this.isAmount = isAmount;
}
public TbOrderPayCountVo(String payType, Object payAmount) {
this.payType = payType;
this.payAmount = payAmount;
@@ -37,4 +48,14 @@ public class TbOrderPayCountVo {
this.payAmount = 0;
}
}
public TbOrderPayCountVo(String icon, String payType, String isAmount, Object payAmount) {
this.icon = icon;
this.payType = payType;
this.isAmount = isAmount;
this.payAmount = payAmount;
if (payAmount == null) {
this.payAmount = 0;
}
}
}

View File

@@ -77,21 +77,9 @@ public class TbOrderSalesCountByDayVo {
this.refAmount = refAmount;
}
public TbOrderSalesCountByDayVo(String productName, String productSkuName, Long salesNum, Long refNum, Long num) {
this.productName = productName;
this.productSkuName = productSkuName;
public TbOrderSalesCountByDayVo(Long salesNum, Long refNum) {
this.salesNum = salesNum;
this.refNum = refNum;
this.num = num;
}
public TbOrderSalesCountByDayVo(String productName, String productSkuName,String cateName, Long salesNum, Long refNum, Long num) {
this.productName = productName;
this.productSkuName = productSkuName;
this.cateName = cateName;
this.salesNum = salesNum;
this.refNum = refNum;
this.num = num;
}
public TbOrderSalesCountByDayVo(String productName, String productSkuName, String cateName, Long salesNum, Long refNum, Long num, BigDecimal salesAmount, BigDecimal refAmount) {