From b4bc05b29aa6d71072efdf39caf1808b4e69eca4 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 26 三月 2025 11:04:11 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateScheduleMapper.java | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateScheduleMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateScheduleMapper.java index 08cf63d..3c5e6e5 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateScheduleMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigateScheduleMapper.java @@ -4,15 +4,18 @@ import com.dy.pipIrrGlobal.pojoIr.IrIrrigateSchedule; import com.dy.pipIrrGlobal.voIr.VoIrrigateSchedule; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; +import java.util.Date; import java.util.List; /** * @author ZhuBaoMin - * @date 2025-02-20 15:35 - * @LastEditTime 2025-02-20 15:35 + * @date 2025-02-27 10:02 + * @LastEditTime 2025-02-27 10:02 * @Description */ + @Mapper public interface IrIrrigateScheduleMapper extends BaseMapper<IrIrrigateSchedule> { int deleteByPrimaryKey(Long id); @@ -28,9 +31,18 @@ int updateByPrimaryKey(IrIrrigateSchedule record); /** - * 鏍规嵁璁″垝ID鑾峰彇鐏屾簤娆″簭 + * 鏍规嵁璁″垝ID鑾峰彇鐏屾簤娆″簭璁板綍 * @param planId * @return */ - List<VoIrrigateSchedule> getIrrigateSchedules(Long planId); + List<VoIrrigateSchedule> getSchedulesByPlanId(Long planId); + + /** + * 鏍规嵁鐏屾簤娆″簭ID鏇存柊娆″簭寮�濮嬫椂闂� + * @param scheduleId + * @param startTime + * @return + */ + Integer updateScheduleStartTime(@Param("scheduleId") Long scheduleId, @Param("startTime") Date startTime); + } \ No newline at end of file -- Gitblit v1.8.0