Commit 8a13e9da authored by 耿迪迪's avatar 耿迪迪

小程序居民安检详情统计修改

parent 647777b6
...@@ -273,6 +273,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -273,6 +273,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE `status` !=-1 AND task_id = #{taskId} GROUP BY receive_id ) WHERE `status` !=-1 AND task_id = #{taskId} GROUP BY receive_id )
) p ON u.id = p.receive_id ) p ON u.id = p.receive_id
<where> <where>
u.village in (SELECT re.relation_id FROM t_task_relation_info re WHERE re.task_id = #{taskId} and re.type = '1' )
<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>
......
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