From 6e8c95d31d85b53857e4e3ce12ea303eb0ea42eb Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 19 八月 2021 00:47:48 +0800
Subject: [PATCH] 优化代码
---
java110-db/src/main/resources/mapper/community/NoticeServiceDaoImplMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/NoticeServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/NoticeServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 50c459f..d420111
--- a/java110-db/src/main/resources/mapper/community/NoticeServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/NoticeServiceDaoImplMapper.xml
@@ -115,10 +115,10 @@
and t.context= #{context}
</if>
<if test="startTime !=null">
- and t.start_time= #{startTime}
+ and t.start_time <= #{startTime}
</if>
<if test="endTime !=null">
- and t.end_time= #{endTime}
+ and t.end_time >= #{endTime}
</if>
<if test="statusCd !=null and statusCd != ''">
and t.status_cd= #{statusCd}
@@ -198,10 +198,10 @@
and t.context= #{context}
</if>
<if test="startTime !=null">
- and t.start_time= #{startTime}
+ and t.start_time <= #{startTime}
</if>
<if test="endTime !=null">
- and t.end_time= #{endTime}
+ and t.end_time >= #{endTime}
</if>
<if test="statusCd !=null and statusCd != ''">
and t.status_cd= #{statusCd}
--
Gitblit v1.8.0