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