增加日期查询
This commit is contained in:
@ -100,6 +100,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="req.smallType !=null and req.smallType!=''">
|
||||
AND a.message_small_type = #{req.smallType}
|
||||
</if>
|
||||
<if test="req.rq!=null">
|
||||
DATE_FORMAT(a.create_time, '%Y-%m-%d') = #{req.rq} and
|
||||
</if>
|
||||
</where>
|
||||
order by a.create_time desc
|
||||
</select>
|
||||
@ -128,6 +131,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="req.largeType !=null and req.largeType!='3'">
|
||||
a.is_operation = '1' AND
|
||||
</if>
|
||||
<if test="req.rq!=null">
|
||||
DATE_FORMAT(a.create_time, '%Y-%m-%d') = #{req.rq} and
|
||||
</if>
|
||||
a.message_small_type is null AND
|
||||
a.del_flag = "0"
|
||||
</where>
|
||||
|
Reference in New Issue
Block a user