From 16d86585442f795a46957b2d0db08bba98caea2f Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 14 Aug 2024 16:08:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=9C=BA=E6=89=80=E5=87=BA=E5=85=A5?= =?UTF-8?q?=E7=99=BB=E8=AE=B0=E6=8E=A5=E5=8F=A3=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/placeRegist/placeRegist.html | 11 ++++++++++- .../src/main/resources/mapper/system/TdCaseMapper.xml | 7 +++++-- .../resources/mapper/system/TdPlaceRegistMapper.xml | 7 +++++-- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/placeRegist/placeRegist.html b/ruoyi-admin/src/main/resources/templates/system/placeRegist/placeRegist.html index 461cc20..6e8ae3a 100644 --- a/ruoyi-admin/src/main/resources/templates/system/placeRegist/placeRegist.html +++ b/ruoyi-admin/src/main/resources/templates/system/placeRegist/placeRegist.html @@ -19,10 +19,19 @@ -
  • + + +
  • + + + - +
  • + +
  •  搜索  重置 diff --git a/ruoyi-system/src/main/resources/mapper/system/TdCaseMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TdCaseMapper.xml index fedba03..dbd15d3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TdCaseMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TdCaseMapper.xml @@ -42,8 +42,11 @@ AND case_type = #{caseType} - - AND case_time LIKE concat('%',#{caseTime},'%') + + AND case_time >= #{params.beginTime} + + + AND case_time <= #{params.endTime} AND case_grade = #{caseGrade} diff --git a/ruoyi-system/src/main/resources/mapper/system/TdPlaceRegistMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TdPlaceRegistMapper.xml index fd1fdbe..e098bd8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TdPlaceRegistMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TdPlaceRegistMapper.xml @@ -39,8 +39,11 @@ AND regist_name LIKE concat('%',#{registName},'%') - - AND regist_time LIKE concat('%',#{registTime},'%') + + AND regist_time >= #{params.beginTime} + + + AND regist_time <= #{params.endTime} ORDER BY create_time DESC