From a404be9974fed8f147d150f88f306879147ba490 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 21 三月 2025 16:07:52 +0800 Subject: [PATCH] “端口、IP、标签配置”文档修改 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigatePlanMapper.java | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 41 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigatePlanMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigatePlanMapper.java index 1b36d36..ab4c01e 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigatePlanMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigatePlanMapper.java @@ -2,12 +2,16 @@ 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 */ @@ -24,4 +28,39 @@ int updateByPrimaryKeySelective(IrIrrigatePlan record); int updateByPrimaryKey(IrIrrigatePlan record); + + /** + * 鏍规嵁鎸囧畾鐨勮鍒扞D鑾峰彇鍚姩妯″紡 + * @param planId + * @return + */ + Byte getStartupMode(Long planId); + + /** + * 鏍规嵁鎸囧畾鐨勮鍒扞D鑾峰彇宸插彂甯冪殑鐏屾簤璁″垝鏁伴噺 + * @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); } \ No newline at end of file -- Gitblit v1.8.0