| | |
| | | LEFT JOIN jczz_grid jg ON jp.grid_code = jg.grid_code AND jg.is_deleted = 0 |
| | | WHERE |
| | | jpe.is_deleted = 0 |
| | | and jp.place_name != '' |
| | | <if test="isAdministrator==2"> |
| | | <choose> |
| | | <when test="regionChildCodesList !=null and regionChildCodesList.size()>0"> |
| | |
| | | FROM |
| | | jczz_place_ext jpe |
| | | LEFT JOIN jczz_place jp ON jp.id = jpe.place_id and jp.is_deleted = 0 |
| | | LEFT JOIN jczz_doorplate_address jda ON locate(jda.address_code,jp.house_code>0 |
| | | LEFT JOIN jczz_doorplate_address jda ON locate(jda.address_code,jp.house_code)>0 |
| | | <where> |
| | | <if test="confirmFlag != null"> |
| | | and jpe.confirm_flag = #{confirmFlag} |