异常响应

订单管理 查询支付统计
This commit is contained in:
2024-03-08 10:38:40 +08:00
parent e0291db00d
commit cdf85e3940
6 changed files with 168 additions and 56 deletions

View File

@@ -0,0 +1,44 @@
package cn.ysk.cashier.vo;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class TbOrderPayCountVo{
private String payType;
private BigDecimal payAmount;
// 构造函数,参数名需要与查询中的别名一致
public TbOrderPayCountVo(String payType, BigDecimal payAmount) {
this.payType = payType;
this.payAmount = payAmount;
}
// Getter和Setter方法
public String getPayType() {
return payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
public BigDecimal getPayAmount() {
return payAmount;
}
public void setPayAmount(BigDecimal payAmount) {
this.payAmount = payAmount;
}
// toString方法用于简单的打印信息可根据需要添加
@Override
public String toString() {
return "TbOrderPayCountVo{" +
"payType='" + payType + '\'' +
", payAmount=" + payAmount +
'}';
}
}