From d0b51c6d6f2b7a530c0557b6279cc6dfced223cf Mon Sep 17 00:00:00 2001
From: zhubaomin <470473919@qq.com>
Date: 星期日, 27 四月 2025 19:01:04 +0800
Subject: [PATCH] 各轮灌组开阀时间提前10分钟,第一组除外,改为配置文件设置
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeControllerMapper.java | 62 +++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeControllerMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeControllerMapper.java
new file mode 100644
index 0000000..09e26e5
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeControllerMapper.java
@@ -0,0 +1,62 @@
+package com.dy.pipIrrGlobal.daoPr;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.dy.pipIrrGlobal.pojoPr.PrIntakeController;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author ZhuBaoMin
+ * @date 2024-01-02 9:16
+ * @LastEditTime 2024-01-02 9:16
+ * @Description
+ */
+
+@Mapper
+public interface PrIntakeControllerMapper extends BaseMapper<PrIntakeController> {
+ int deleteByPrimaryKey(Long id);
+
+ int insert(PrIntakeController record);
+
+ int insertSelective(PrIntakeController record);
+
+ PrIntakeController selectByPrimaryKey(Long id);
+
+ int updateByPrimaryKeySelective(PrIntakeController record);
+
+ int updateByPrimaryKey(PrIntakeController record);
+
+ /**
+ * 鏍规嵁鍙栨按鍙g紪鍙枫�佹帶鍒跺櫒缂栧彿銆佹搷浣滅被鍒幏鍙栬褰曟暟閲�
+ * 閲嶅缁戝畾銆侀噸澶嶈В缁戦兘鐢ㄨ鏂规硶鍒ゆ柇
+ * @param intakeId 鍙栨按鍙D
+ * @param controllerId 鎺у埗鍣↖D
+ * @param operateType 鎿嶄綔绫诲瀷 1-鎹嗙粦锛�2-瑙g粦
+ * @return 濡備綍鏉′欢璁板綍鏁�
+ */
+ Integer getBindRecordCount(@Param("intakeId") Long intakeId, @Param("controllerId") Long controllerId, @Param("operateType") Byte operateType);
+
+ /**
+ * 鏍规嵁鍙栨按鍙g紪鍙疯幏鍙栫粦瀹氳褰曞垪琛�
+ * @param intakeId 鍙栨按鍙g紪鍙�
+ * @return 鍙栨按鍙d笌鎺у埗鍣ㄧ粦瀹氬垪琛�
+ */
+ List<Map<String, Object>> getBindsByIntakeId(@Param("intakeId") Long intakeId);
+
+ /**
+ * 鏍规嵁鎺у埗鍣ㄧ紪鍙疯幏鍙栫粦瀹氳褰曞垪琛�
+ * @param controllerId 鎺у埗鍣ㄧ紪鍙�
+ * @return 鍙栨按鍙d笌鎺у埗鍣ㄧ粦瀹氬垪琛�
+ */
+ List<Map<String, Object>> getBindsByControllerId(@Param("controllerId") Long controllerId);
+
+ /**
+ * 淇敼缁戝畾璁板綍閫氳繃鍙栨按鍙�
+ * @param record
+ * @return
+ */
+ int updateByIntakeSelective(PrIntakeController record);
+}
\ No newline at end of file
--
Gitblit v1.8.0