查询条件
This commit is contained in:
@@ -105,6 +105,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd}
|
||||
</if>
|
||||
<if test="pushTimeStart != null">
|
||||
and PUSH_TIME <![CDATA[>=]]> #{pushTimeStart}
|
||||
</if>
|
||||
<if test="pushTimeEnd != null">
|
||||
and PUSH_TIME <![CDATA[<=]]> #{pushTimeEnd}
|
||||
</if>
|
||||
<if test="pushStatus != null">
|
||||
and a.PUSH_STATUS = #{pushStatus}
|
||||
</if>
|
||||
<choose>
|
||||
<when test="delFlag != null"> and a.del_flag = #{delFlag} </when>
|
||||
<otherwise> and a.del_flag = 1 </otherwise>
|
||||
|
||||
Reference in New Issue
Block a user