liurunyu
2024-10-24 3a6ac2949244e6a3f70e165cd3802f1d90b78819
pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrControllerTrampMapper.xml
@@ -35,6 +35,10 @@
    delete from pr_controller_tramp
    where id = #{id,jdbcType=BIGINT}
  </delete>
    <!--清空流浪控制器表-->
    <delete id="emptyTrampController">
        delete from pr_controller_tramp
    </delete>
  <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoPr.PrControllerTramp">
    <!--@mbg.generated-->
    insert into pr_controller_tramp (id, rtuAddr, protocol,
@@ -138,13 +142,13 @@
                AND  protocol = #{protocol,jdbcType=VARCHAR}
            </if>
        </where>
        order by rtuAddr desc
        <trim prefix="limit " >
            <if test="start != null and count != null">
                #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}
            </if>
        </trim>
        order by rtuAddr desc
    </select>
</select>
    <!--    根据条件获取流浪控制器数量-->
    <select id="getTrampControllersCount" resultType="java.lang.Long">
        select