liurunyu
2024-12-03 6c8f819db0da0d7f8cfe5b5eec1cbe1c00d747c9
pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupUnitMapper.xml
@@ -79,4 +79,8 @@
    <select id="getGroupBindUnits" parameterType="Long" resultType="java.lang.Long">
        SELECT unit_id AS unitId FROM `ir_group_unit`WHERE group_id = #{groupId,jdbcType=BIGINT}
    </select>
    <select id="getNotBindUnits" resultType="java.lang.Long">
        SELECT id FROM ir_irrigate_unit  WHERE id NOT IN (SELECT unit_id  FROM ir_group_unit)
    </select>
</mapper>