Commit 22d885f7 authored by 耿迪迪's avatar 耿迪迪

居民查询接口修改

parent 6d5059f5
...@@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="county != null "> and u.county = #{county}</if> <if test="county != null "> and u.county = #{county}</if>
<if test="street != null "> and u.street = #{street}</if> <if test="street != null "> and u.street = #{street}</if>
<if test="village != null "> and u.village = #{village}</if> <if test="village != null "> and u.village = #{village}</if>
<if test="village == null "> <if test="village == null and taskId != null ">
and u.village in (SELECT re.relation_id FROM t_task_relation_info re WHERE re.task_id = #{taskId} and re.type = '1' ) and u.village in (SELECT re.relation_id FROM t_task_relation_info re WHERE re.task_id = #{taskId} and re.type = '1' )
</if> </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>
......
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