liurunyu
2025-06-19 2507f1d9d720ffcc1a1ef1eed31a88db976c9abd
pipIrr-platform/pipIrr-global/src/main/resources/mapper/UgRtuControllerMapper.xml
@@ -140,10 +140,10 @@
        AND ugCon.rtu_addr = #{rtuAddr,jdbcType=VARCHAR}
      </if>
      <if test="state != null and state == 1">
        AND ugCon.ug_state = 1
        AND ugCon.ug_state = 2
      </if>
      <if test="state != null and state == 0">
        AND ugCon.ug_state != 1
        AND ugCon.ug_state != 2
      </if>
      <if test="fail != null">
        AND ugCon.ug_state = #{fail,jdbcType=INTEGER}
@@ -175,10 +175,10 @@
        AND ugCon.rtu_addr = #{rtuAddr,jdbcType=VARCHAR}
      </if>
      <if test="state != null and state == 1">
        AND ugCon.ug_state = 1
        AND ugCon.ug_state = 2
      </if>
      <if test="state != null and state == 0">
        AND ugCon.ug_state != 1
        AND ugCon.ug_state != 2
      </if>
      <if test="fail != null">
        AND ugCon.ug_state = #{fail,jdbcType=INTEGER}