| | |
| | | <if test="house.neiName!=null and house.neiName!=''"> |
| | | and br.name like concat('%',#{house.neiName},'%') |
| | | </if> |
| | | <if test="house.address!=null and house.address!=''"> |
| | | and jh.address like concat('%',#{house.address},'%') |
| | | </if> |
| | | <if test="house.houseName != null and house.houseName != ''">and jh.house_name like |
| | | concat('%',#{house.houseName},'%') |
| | | </if> |
| | |
| | | jczz_doorplate_address jda |
| | | LEFT JOIN jczz_community jc ON jc.CODE = jda.nei_code |
| | | WHERE |
| | | jc.res_police_user_id = #{userId}) |
| | | jc.res_police_user_id like concat('%',#{userId},'%')) |
| | | ) |
| | | </if> |
| | | ) a |
| | |
| | | jczz_doorplate_address jda |
| | | LEFT JOIN jczz_community jc ON jc.CODE = jda.nei_code |
| | | WHERE |
| | | jc.res_police_user_id = #{userId}) |
| | | jc.res_police_user_id like concat('%',#{userId},'%')) |
| | | ) |
| | | </if> |
| | | ) a |
| | |
| | | jczz_doorplate_address jda |
| | | LEFT JOIN jczz_community jc ON jc.CODE = jda.nei_code |
| | | WHERE |
| | | jc.res_police_user_id = #{userId}) |
| | | jc.res_police_user_id like concat('%',#{userId},'%')) |
| | | ) |
| | | </if> |
| | | </select> |
| | |
| | | jczz_doorplate_address jda |
| | | LEFT JOIN jczz_community jc ON jc.CODE = jda.nei_code |
| | | WHERE |
| | | jc.res_police_user_id = #{userId}) |
| | | jc.res_police_user_id like concat('%',#{userId},'%')) |
| | | ) |
| | | </if> |
| | | ) a |