Commit ab89d5cc authored by 耿迪迪's avatar 耿迪迪

居民安检类型查询

parent 5ab4e94e
...@@ -275,7 +275,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -275,7 +275,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status == 1">and p.status is null</if> <if test="status == 1">and p.status is null</if>
<if test="status == 2">and p.status = 0</if> <if test="status == 2">and p.status = 0</if>
<if test="status == 3">and p.status = 1 </if> <if test="status == 3">and p.status = 1 </if>
<if test="status == 4">and p.status &gt;= 2 </if> <if test="status == 4">and p.status = 2 </if>
<if test="status == 5">and p.status = 3 </if>
<if test="username != null and username != ''">and u.username like concat('%',#{username},'%')</if> <if test="username != null and username != ''">and u.username like concat('%',#{username},'%')</if>
<if test="phone != null and phone != ''">and u.phone = #{phone} </if> <if test="phone != null and phone != ''">and u.phone = #{phone} </if>
<if test="taskType != null and taskType != ''">and u.task_type = #{taskType} </if> <if test="taskType != null and taskType != ''">and u.task_type = #{taskType} </if>
......
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