| | |
| | | AND jtrfr.phone like concat('%',#{vo.phone},'%') |
| | | </if> |
| | | <if test="vo.confirmFlag != null"> |
| | | AND jtrfr.confirm_flag = #{vo.confirmFlag} |
| | | AND (jtrfr.confirm_flag = #{vo.confirmFlag} |
| | | <if test="vo.confirmUserId != null and vo.roleName!='网格员'"> |
| | | or jtrfr.confirm_user_id = #{vo.confirmUserId} |
| | | </if> |
| | | ) |
| | | </if> |
| | | <if test="vo.confirmUserId != null and vo.roleName!='网格员'"> |
| | | AND jtrfr.confirm_user_id = #{vo.confirmUserId} |
| | | </if> |
| | | |
| | | <if test="vo.status != null"> |
| | | AND jtrfr.status = #{vo.status} |
| | | </if> |
| | |
| | | WHERE is_deleted = 0 |
| | | <if test="userId != null"> |
| | | and create_user = #{userId} |
| | | |
| | | </if> |
| | | <if test="houseCode != null and houseCode != ''"> |
| | | and address_code = #{houseCode} |
| | | </if> |
| | | </select> |
| | | |