package com.dy.pipIrrIrrigate.irrigatePlan; import com.dy.pipIrrGlobal.daoIr.IrGroupClientMapper; import com.dy.pipIrrGlobal.voIr.VoGroupSimple; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * @author ZhuBaoMin * @date 2024-11-28 17:20 * @LastEditTime 2024-11-28 17:20 * @Description 灌溉计划服务类 */ @Slf4j @Service public class IrrigatePlanSv { @Autowired private IrGroupClientMapper irGroupClientMapper; /** * 根据农户编号获取轮灌组列表 * @param clientId * @return */ public List getGroups(Long clientId) { return irGroupClientMapper.getGroupsByClientId(clientId); } }