|
|
@ -92,7 +92,7 @@
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="selectChildrenMonitorById" parameterType="String" resultMap="BaseMonitorInfoResult">
|
|
|
|
<select id="selectChildrenMonitorById" parameterType="String" resultMap="BaseMonitorInfoResult">
|
|
|
|
select * from base_monitor_info where find_in_set(#{monitorId}, ancestors)
|
|
|
|
select * from base_monitor_info where dbo.find_in_set(#{monitorId}, ancestors) > 0
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="selectBaseMonitorInfoByMonitorId" parameterType="String" resultMap="BaseMonitorInfoResult">
|
|
|
|
<select id="selectBaseMonitorInfoByMonitorId" parameterType="String" resultMap="BaseMonitorInfoResult">
|
|
|
|
select * from base_monitor_info where monitor_id = #{monitorId}
|
|
|
|
select * from base_monitor_info where monitor_id = #{monitorId}
|
|
|
|