From fe6c0fa6a7a72c5bb51e25ba8236f33de69e2901 Mon Sep 17 00:00:00 2001 From: huangqizhen <15552608129@163.com> Date: Mon, 21 Apr 2025 15:05:14 +0800 Subject: [PATCH] =?UTF-8?q?4.21=20=E4=BF=AE=E6=94=B9=E7=BA=BF=E4=B8=8A?= =?UTF-8?q?=E5=85=85=E5=80=BC=E6=98=8E=E7=BB=86=E5=85=85=E5=80=BC=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=9A=84=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/example/demo/domain/dou/Pay.java | 2 +- src/main/java/com/example/demo/domain/dou/RechargeTotal.java | 2 +- src/main/java/com/example/demo/domain/dou/Spend.java | 1 + src/main/resources/mapperLink/DouMapper.xml | 10 +++++----- src/main/resources/mapperPay/PayMapper.xml | 7 ++++--- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/example/demo/domain/dou/Pay.java b/src/main/java/com/example/demo/domain/dou/Pay.java index 73aa8fb..4c6a1bd 100644 --- a/src/main/java/com/example/demo/domain/dou/Pay.java +++ b/src/main/java/com/example/demo/domain/dou/Pay.java @@ -20,7 +20,7 @@ public class Pay { private String nickname; private BigDecimal price; private Integer count; - private Integer payStyle; + private String payStyle; private Integer state; private Integer platfrom; private Integer successTime; diff --git a/src/main/java/com/example/demo/domain/dou/RechargeTotal.java b/src/main/java/com/example/demo/domain/dou/RechargeTotal.java index de69f52..70c2301 100644 --- a/src/main/java/com/example/demo/domain/dou/RechargeTotal.java +++ b/src/main/java/com/example/demo/domain/dou/RechargeTotal.java @@ -19,7 +19,7 @@ public class RechargeTotal { private String type; private BigDecimal priceTotal; private Integer countTotal; - private Integer payStyle; + private String payStyle; private String deptName; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai") @DateTimeFormat(pattern = "yyyy-MM-dd") diff --git a/src/main/java/com/example/demo/domain/dou/Spend.java b/src/main/java/com/example/demo/domain/dou/Spend.java index 9d9eb2d..3a8a8c4 100644 --- a/src/main/java/com/example/demo/domain/dou/Spend.java +++ b/src/main/java/com/example/demo/domain/dou/Spend.java @@ -37,4 +37,5 @@ public class Spend implements Serializable { @DateTimeFormat(pattern = "yyyy-MM-dd") private Date endTime; private String room; + private Integer sourceType; } diff --git a/src/main/resources/mapperLink/DouMapper.xml b/src/main/resources/mapperLink/DouMapper.xml index c9e4a9c..3fdbb36 100644 --- a/src/main/resources/mapperLink/DouMapper.xml +++ b/src/main/resources/mapperLink/DouMapper.xml @@ -83,7 +83,7 @@ fm.nickname, fy.content, fy.pay_type, - fy.source_type AS good, + fy.source_type, fm.jwcode, fm.ip_address, fy.money_free, @@ -109,10 +109,10 @@ AND fy.source_name = #{sourceName} - + AND fy.pay_type = #{payType} - + AND fy.source_type = #{good} @@ -144,10 +144,10 @@ AND fy.source_name = #{sourceName} - + AND fy.pay_type = #{payType} - + AND fy.source_type = #{sourceType} diff --git a/src/main/resources/mapperPay/PayMapper.xml b/src/main/resources/mapperPay/PayMapper.xml index 64425de..89b8469 100644 --- a/src/main/resources/mapperPay/PayMapper.xml +++ b/src/main/resources/mapperPay/PayMapper.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">