pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml
@@ -97,4 +97,14 @@ findDt = #{findDt,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} </update> <!--根据控制器编号获取流浪控制器地址--> <!-- <select id="getTrampRtuAddr" resultType="java.lang.String">--> <!-- SELECT rtuAddr FROM pr_controller_tramp WHERE id = ${controllerId}--> <!-- </select>--> <!--根据控制器编号获取流浪控制器信息--> <select id="getTrampControllerInfo" resultMap="BaseResultMap"> SELECT rtuAddr, protocol, findDt FROM pr_controller_tramp WHERE id = ${controllerId} </select> </mapper>