wuzeyu
2024-06-27 f015748715bf637943bfa176c8673111344a9fe1
pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeControllerMapper.xml
@@ -186,4 +186,26 @@
    </if>
    ORDER BY ic.operateDt DESC
  </select>
  <!--根据取水口编号修改绑定记录列表-->
  <update id="updateByIntakeSelective">
    update pr_intake_controller
    <set>
      <if test="controllerid != null">
        controllerId = #{controllerid,jdbcType=BIGINT},
      </if>
      <if test="operatetype != null">
        operateType = #{operatetype,jdbcType=TINYINT},
      </if>
      <if test="remarks != null">
        remarks = #{remarks,jdbcType=VARCHAR},
      </if>
      <if test="operator != null">
        `operator` = #{operator,jdbcType=BIGINT},
      </if>
      <if test="operatedt != null">
        operateDt = #{operatedt,jdbcType=TIMESTAMP},
      </if>
    </set>
    where intakeId = #{intakeid,jdbcType=BIGINT}
  </update>
</mapper>