Commit 1207dc61 by 阳浪

审核时间查询

parent 5fc58839
...@@ -50,13 +50,13 @@ ...@@ -50,13 +50,13 @@
and a.file_name like CONCAT('%', '${fileName}', '%' ) and a.file_name like CONCAT('%', '${fileName}', '%' )
</if> </if>
<if test="start != null"> <if test="start != null">
and a.release_time >= #{start} and a.approve_time >= #{start}
</if> </if>
<if test="number != null"> <if test="number != null">
and a.number = #{number} and a.number = #{number}
</if> </if>
<if test="author != null"> <if test="author != null">
and a.author = #{author} and a.author = like CONCAT('%', '${author}', '%' )
</if> </if>
<if test="level != null and level == 1"> <if test="level != null and level == 1">
and a.type_one=#{typeId} and a.type_one=#{typeId}
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
and a.type_three=#{typeId} and a.type_three=#{typeId}
</if> </if>
<if test="end != null"> <if test="end != null">
and #{end} >= a.release_time and #{end} >= a.approve_time
</if> </if>
<if test="null != state"> <if test="null != state">
and a.state = #{state} and a.state = #{state}
...@@ -84,10 +84,10 @@ ...@@ -84,10 +84,10 @@
and a.file_name like CONCAT('%', '${fileName}', '%' ) and a.file_name like CONCAT('%', '${fileName}', '%' )
</if> </if>
<if test="start != null"> <if test="start != null">
and a.release_time >= #{start} and a.approve_time >= #{start}
</if> </if>
<if test="end != null"> <if test="end != null">
and #{end} >= a.release_time and #{end} >= a.approve_time
</if> </if>
order by a.submit_time DESC order by a.submit_time DESC
</select> </select>
......
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