From 203223860baa19deb6860eb2ba3181910d662980 Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期四, 17 四月 2025 14:22:59 +0800
Subject: [PATCH] 1. 轮灌组被终止时灌溉时长为实际数值。2. 计划历史表按照创建时间倒排序。3. 发布计划时判断是否同项目下未完成计划,是否其他项目下使用了本计划的轮灌组且计划未完成。4. 根据计划ID获取计划最新状态。

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/DeleteMapper.java |   86 +++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 82 insertions(+), 4 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/DeleteMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/DeleteMapper.java
index bb61453..017e23b 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/DeleteMapper.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoTmp/DeleteMapper.java
@@ -1,7 +1,7 @@
 package com.dy.pipIrrGlobal.daoTmp;
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.dy.pipIrrGlobal.voTmp.VoStLossMonth;
+import com.dy.pipIrrGlobal.voTmp.*;
 import org.apache.ibatis.annotations.Mapper;
 
 import java.util.List;
@@ -15,10 +15,88 @@
 public interface DeleteMapper extends BaseMapper<Object> {
 
     /**
-     * 鏌ヨ鍏ㄩ儴婕忔崯鏈堢粺璁�
+     * 鏌ヨ鍏ㄩ儴婕忔崯鏃ョ粺璁�
+     *
      * @return 瀹炰綋闆嗗悎
      */
-    List<VoStLossMonth> selectAllStLossMonth() ;
+    List<VoStLossAmountDay> selectAllStLossDay();
 
-    int deleteByMainKey(Long id) ;
+    int deleteStLossDayById(Long id);
+
+    /**
+     * 鏌ヨ鍏ㄩ儴婕忔崯鏈堢粺璁�
+     *
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<VoStLossAmountMonth> selectAllStLossMonth();
+
+    int deleteStLossMonthById(Long id);
+
+    /**
+     * 鏌ヨ鍏ㄩ儴婕忔崯骞寸粺璁�
+     *
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<VoStLossAmountYear> selectAllStLossYear();
+
+    int deleteStLossYearById(Long id);
+
+
+    /**
+     * 鏌ヨ鍏ㄩ儴鍙栨按鍙f棩缁熻
+     *
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<VoStIntakeAmountDay> selectAllStIntakeDay();
+
+    int deleteStIntakeDayById(Long id);
+
+
+    /**
+     * 鏌ヨ鍏ㄩ儴鍙栨按鍙f湀缁熻
+     *
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<VoStIntakeAmountMonth> selectAllStIntakeMonth();
+
+    int deleteStIntakeMonthById(Long id);
+
+    /**
+     * 鏌ヨ鍏ㄩ儴鍙栨按鍙e勾缁熻
+     *
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<VoStIntakeAmountYear> selectAllStIntakeYear();
+
+    int deleteStIntakeYearById(Long id);
+
+
+    /**
+     * 鏌ヨ鍏ㄩ儴鍐滄埛鏈堢粺璁�
+     *
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<VoStClientAmountDay> selectAllStClientDay();
+
+    int deleteStClientDayById(Long id);
+
+
+    /**
+     * 鏌ヨ鍏ㄩ儴鍐滄埛鏈堢粺璁�
+     *
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<VoStClientAmountMonth> selectAllStClientMonth();
+
+    int deleteStClientMonthById(Long id);
+
+    /**
+     * 鏌ヨ鍏ㄩ儴鍐滄埛骞寸粺璁�
+     *
+     * @return 瀹炰綋闆嗗悎
+     */
+    List<VoStClientAmountYear> selectAllStClientYear();
+
+    int deleteStClientYearById(Long id);
+
 }
\ No newline at end of file

--
Gitblit v1.8.0