首页 统计 数据统计(包括弹窗)/销量统计

快捷修改接口 报错问题
This commit is contained in:
wangw 2024-09-26 15:14:46 +08:00
parent b2dad3b3fd
commit 386126cb5e
1 changed files with 16 additions and 31 deletions

View File

@ -1,44 +1,17 @@
package cn.ysk.cashier.vo;
import lombok.Data;
@Data
public class TbOrderPayCountVo {
private String icon;
private String payType;
//是否展示金额标识
private String isAmount="1";
private Object payAmount;
private Object saveAmount;
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public String getPayType() {
return payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
public Object getPayAmount() {
return payAmount;
}
public void setPayAmount(Object payAmount) {
this.payAmount = payAmount;
}
public String getIsAmount() {
return isAmount;
}
public void setIsAmount(String isAmount) {
this.isAmount = isAmount;
public TbOrderPayCountVo() {
}
public TbOrderPayCountVo(String payType, Object payAmount) {
@ -49,6 +22,18 @@ public class TbOrderPayCountVo {
}
}
public TbOrderPayCountVo(String payType, Object payAmount, Object saveAmount) {
this.payType = payType;
this.payAmount = payAmount;
this.saveAmount = saveAmount;
if (payAmount == null) {
this.payAmount = 0;
}
if (saveAmount == null) {
this.saveAmount = 0;
}
}
public TbOrderPayCountVo(String icon, String payType, String isAmount, Object payAmount) {
this.icon = icon;
this.payType = payType;