From ef77ac7224c9ff7468e0ad7daf50686eebbbd9fa Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期二, 25 二月 2025 16:21:51 +0800
Subject: [PATCH] 获取灌溉计划列表接口
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrIrrigatePlanMapper.java | 29 +++++++++++++++++++++++++++--
1 files changed, 27 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..697f90e 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,25 @@
int updateByPrimaryKeySelective(IrIrrigatePlan record);
int updateByPrimaryKey(IrIrrigatePlan record);
+
+ /**
+ * 鍙戝竷鎸囧畾鐨勭亴婧夎鍒�
+ * @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