From f77e9a7cfbe775523551df5faab3c70a5a9c190c Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 03 三月 2025 14:22:35 +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/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