| | |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <select id="selectPrControllerTrampByRtuAddr" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | <select id="getPrControllerTrampByRtuAddr" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | <!--@mbg.generated--> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | |
| | | 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> |