Commit 1207dc61 by 阳浪

审核时间查询

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