| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoIr.IrIrrigatePlan; |
| | | import com.dy.pipIrrGlobal.voIr.VoIrrigatePlan; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2025-02-20 15:33 |
| | | * @LastEditTime 2025-02-20 15:33 |
| | | * @date 2025-02-25 14:59 |
| | | * @LastEditTime 2025-02-25 14:59 |
| | | * @Description |
| | | */ |
| | | |
| | |
| | | int updateByPrimaryKey(IrIrrigatePlan record); |
| | | |
| | | /** |
| | | * 根据指定的计划ID获取启动模式 |
| | | * @param planId |
| | | * @return |
| | | */ |
| | | Byte getStartupMode(Long planId); |
| | | |
| | | /** |
| | | * 根据指定的计划ID获取已发布的灌溉计划数量 |
| | | * @param planId |
| | | * @return |
| | | */ |
| | | Integer getPublishedCount(Long planId); |
| | | |
| | | /** |
| | | * 发布指定的灌溉计划 |
| | | * @param planId |
| | | * @return |
| | | */ |
| | | int publishIrrigatePlan(Long planId); |
| | | |
| | | /** |
| | | * 根据指定的条件获取计划数量 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | Long getIrrigatePlanCount(Map<?, ?> params); |
| | | |
| | | /** |
| | | * 根据指定的条件获取计划列表 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | List<VoIrrigatePlan> getIrrigatePlans(Map<?, ?> params); |
| | | } |