重构
This commit is contained in:
@ -4,6 +4,14 @@
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.xzzn.ems.mapper.EmsSiteMonitorPointMatchMapper">
|
||||
|
||||
<select id="selectDistinctSiteIds" resultType="java.lang.String">
|
||||
select distinct site_id
|
||||
from ems_site_monitor_point_match
|
||||
where site_id is not null
|
||||
and site_id != ''
|
||||
order by site_id asc
|
||||
</select>
|
||||
|
||||
<resultMap id="EmsSiteMonitorPointMatchResult" type="com.xzzn.ems.domain.EmsSiteMonitorPointMatch">
|
||||
<result property="id" column="id"/>
|
||||
<result property="siteId" column="site_id"/>
|
||||
|
||||
Reference in New Issue
Block a user