zhubaomin
2025-06-11 02faa2bb05b3cdb50ee1f56ae4c9a1282e9f9c44
pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIrrigateUnitMapper.xml
@@ -187,4 +187,12 @@
                        </if>
        </where>
    </select>
    <!--根据灌溉单元ID获取取水口ID-->
    <select id="getIntakeIdByUnitId" resultType="java.lang.Long">
        SELECT
            intake_id AS intakeId
        FROM ir_irrigate_unit
        WHERE deleted = 0 AND id = #{unitId}
    </select>
</mapper>