| | |
| | | where task_id = #{taskId,jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <select id="selectAllRtuAddrByTask" parameterType="java.lang.Long" resultType="java.lang.String"> |
| | | <!--@mbg.generated--> |
| | | select |
| | | rtu_addr |
| | | from ug_rtu_controller |
| | | where task_id = #{taskId,jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <select id="selectCountByTaskAndCon" resultType="java.lang.Long"> |
| | | <!--@mbg.generated--> |
| | | select |
| | |
| | | delete from ug_rtu_controller |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <delete id="deleteByTaskId" parameterType="java.lang.Long"> |
| | | delete from ug_rtu_controller |
| | | where task_id = #{taskId,jdbcType=BIGINT} |
| | | </delete> |
| | | |
| | | <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoRm.UgRtuController"> |
| | | <!--@mbg.generated--> |
| | | insert into ug_rtu_controller (id, task_id, controller_id, |