From 558b5534bc8933368b7c235cceec1af7039c1f9d Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Tue, 4 Mar 2025 18:12:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=BA=BA=E5=91=98=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=B7=BB=E5=8A=A0=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canteen/core/customer/dto/CustInfoParam.java | 11 +++++++++++ .../main/resources/mapper/customer/CustInfoMapper.xml | 5 +++++ 2 files changed, 16 insertions(+) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/customer/dto/CustInfoParam.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/customer/dto/CustInfoParam.java index c6072fa7..864b7e71 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/customer/dto/CustInfoParam.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/customer/dto/CustInfoParam.java @@ -4,6 +4,7 @@ import com.bonus.canteen.core.common.encrypt.LeNiuDecryptDataProcess; import com.bonus.canteen.core.common.encrypt.LeNiuDecryptField; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDate; import java.time.LocalDateTime; @@ -36,6 +37,8 @@ public class CustInfoParam { private String chronicIds; private LocalDate birthdayStartTime; private LocalDate birthdayEndTime; + @DateTimeFormat(pattern = "yyyy-MM-dd") + private LocalDate upTime; private String keyword; private List placeIdList; private List healthStateList; @@ -134,6 +137,14 @@ public class CustInfoParam { return this.birthdayEndTime; } + public LocalDate getUpTime() { + return upTime; + } + + public void setUpTime(LocalDate upTime) { + this.upTime = upTime; + } + public String getKeyword() { return this.keyword; } diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustInfoMapper.xml index 708a7f99..fd495a6e 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustInfoMapper.xml @@ -400,6 +400,11 @@ #{item} + + = #{infoParam.upTime} + ]]> + order by ci.id desc