| | |
| | | <result column="province_name" property="provinceName" jdbcType="VARCHAR" /> |
| | | <result column="city_name" property="cityName" jdbcType="VARCHAR" /> |
| | | <result column="area_name" property="areaName" jdbcType="VARCHAR" /> |
| | | <result column="town_name" property="townName" jdbcType="VARCHAR" /> |
| | | <result column="village_name" property="villageName" jdbcType="VARCHAR" /> |
| | | </association> |
| | | <association property="organization" javaType="com.moral.entity.Organization"> |
| | | <result column="organization_id" property="id" jdbcType="INTEGER" /> |
| | |
| | | left join city cti on mpt.city_code = cti.city_code |
| | | left join province pro on mpt.province_code = pro.province_code |
| | | left join organization org on mpt.organization_id = org.id |
| | | left join town t on mpt.town_code = t.town_code |
| | | left join village v on mpt.village_code = v.village_code |
| | | where mpt.id in ( |
| | | select id from monitor_point |
| | | <if test="_parameter != null"> |