Commit 6549fbe0 by 杨林龙

优化POI列表日期查询时分秒处理

1 parent c5e358bd
...@@ -68,10 +68,10 @@ ...@@ -68,10 +68,10 @@
and tpf.poi_type = #{poiType} and tpf.poi_type = #{poiType}
</if> </if>
<if test="createBeginDate != null and createBeginDate != ''"> <if test="createBeginDate != null and createBeginDate != ''">
and tpf.created_date &gt;= #{createBeginDate} and LEFT(tpf.created_date,10) &gt;= #{createBeginDate}
</if> </if>
<if test="createEndDate != null and createEndDate != ''"> <if test="createEndDate != null and createEndDate != ''">
and tpf.created_date &lt;= #{createEndDate} and LEFT(tpf.created_date,10) &lt;= #{createEndDate}
</if> </if>
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''"> <if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and tpf.created_by in (#{checkedUserIdsStr}) and tpf.created_by in (#{checkedUserIdsStr})
...@@ -99,10 +99,10 @@ ...@@ -99,10 +99,10 @@
and tpf.poi_type = #{poiType} and tpf.poi_type = #{poiType}
</if> </if>
<if test="createBeginDate != null and createBeginDate != ''"> <if test="createBeginDate != null and createBeginDate != ''">
and tpf.created_date &gt;= #{createBeginDate} and LEFT(tpf.created_date,10) &gt;= #{createBeginDate}
</if> </if>
<if test="createEndDate != null and createEndDate != ''"> <if test="createEndDate != null and createEndDate != ''">
and tpf.created_date &lt;= #{createEndDate} and LEFT(tpf.created_date,10) &lt;= #{createEndDate}
</if> </if>
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''"> <if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and tpf.created_by in (#{checkedUserIdsStr}) and tpf.created_by in (#{checkedUserIdsStr})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!