Commit 750d94c4 authored by fangxinjiang's avatar fangxinjiang

查询时间处理

parent 9fbfe591
...@@ -117,13 +117,13 @@ ...@@ -117,13 +117,13 @@
</select> </select>
<sql id="education_where_export"> <sql id="education_where_export">
<if test="searchVo != null"> <if test="searchVo != null">
<if test="searchVo.idList != null"> <if test="idList != null">
AND a.id in AND a.id in
<foreach item="idStr" index="index" collection="searchVo.idList" open="(" separator="," close=")"> <foreach item="idStr" index="index" collection="idList" open="(" separator="," close=")">
#{idStr} #{idStr}
</foreach> </foreach>
</if> </if>
<if test="searchVo.idList == null"> <if test="idList == null">
<if test="searchVo.createTimeStart != null"> <if test="searchVo.createTimeStart != null">
AND a.CREATE_TIME >= #{searchVo.createTimeStart} AND a.CREATE_TIME >= #{searchVo.createTimeStart}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment