| | |
| | | br.town_code streetCode, |
| | | jp.principal as realName, |
| | | jp.principal_phone as phone, |
| | | jp.nine_type , |
| | | jp.front_type , |
| | | jp.nine_type, |
| | | jp.front_type, |
| | | jp.place_name, |
| | | jt.id, |
| | | jt.NAME, |
| | | jt.type, |
| | |
| | | <choose> |
| | | <when test="regionChildCodesList !=null and regionChildCodesList.size()>0"> |
| | | and jh.grid_code in |
| | | <foreach collection="regionChildCodesList" item="code" open="(" close=")" separator=","> |
| | | <foreach collection="regionChildCodesList" item="code" open="(" close=")" |
| | | separator=","> |
| | | #{code} |
| | | </foreach> |
| | | </when> |
| | |
| | | <choose> |
| | | <when test="regionChildCodesList !=null and regionChildCodesList.size()>0"> |
| | | and br.village_code in |
| | | <foreach collection="regionChildCodesList" item="code" open="(" close=")" separator=","> |
| | | <foreach collection="regionChildCodesList" item="code" open="(" close=")" |
| | | separator=","> |
| | | #{code} |
| | | </foreach> |
| | | </when> |
| | |
| | | and jt.report_type in (5,8) |
| | | </if> |
| | | and jt.is_deleted = 0 |
| | | and jt.house_code is not null |
| | | </where> |
| | | </select> |
| | | |