|
|
@ -199,6 +199,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="age !=null">and tp.age = #{age} </if>
|
|
|
|
<if test="age !=null">and tp.age = #{age} </if>
|
|
|
|
<if test="sex !=null">and tp.sex = #{sex} </if>
|
|
|
|
<if test="sex !=null">and tp.sex = #{sex} </if>
|
|
|
|
<if test="identifier !=null">and tp.identifier like concat('%', #{identifier}, '%')</if>
|
|
|
|
<if test="identifier !=null">and tp.identifier like concat('%', #{identifier}, '%')</if>
|
|
|
|
|
|
|
|
<if test="delFlag == null">
|
|
|
|
|
|
|
|
and td.del_flag = '0' and tp.del_flag = '0'
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="createTime != null">
|
|
|
|
<if test="createTime != null">
|
|
|
|
and DATE_FORMAT(tp.create_time,'%Y-%m') = DATE_FORMAT(#{createTime},'%Y-%m')
|
|
|
|
and DATE_FORMAT(tp.create_time,'%Y-%m') = DATE_FORMAT(#{createTime},'%Y-%m')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|