| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | jg.grid_code in ('') or jpag.community_code in in ('') |
| | | jg.grid_code in ('') or jpag.community_code in ('') |
| | | ) |
| | | </otherwise> |
| | | </choose> |
| | |
| | | jp.is_nine AS isNine, |
| | | jp.is_front AS isFront, |
| | | br.name neiName, |
| | | jg.community_code neiCode, |
| | | FALSE AS hasChildren |
| | | FROM jczz_place jp |
| | | LEFT JOIN jczz_grid jg on jp.grid_code = jg.grid_code and jg.is_deleted = 0 |
| | |
| | | jp.is_front, |
| | | jp.front_type, |
| | | jp.remark, |
| | | jp.three_fire_protection, |
| | | bu.real_name as username,bu.phone as phone, |
| | | jppl.id as plid, |
| | | jppl.place_id, |
| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | jg.grid_code in ('') or jpag.community_code in in ('') |
| | | jg.grid_code in ('') or jpag.community_code in ('') |
| | | ) |
| | | </otherwise> |
| | | </choose> |