From 7d55b601b8ec846e9d48ce31de1c5c6930d6dee0 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 19 八月 2025 17:24:35 +0800
Subject: [PATCH] 1、修改等待中间件返回结果超时时间为10秒; 2、修改向水肥机下发命令相关逻辑; 3、修改水肥机回复命令结果处理逻辑; 4、去除前端webSocket关闭产生异常日志记录。

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StClientAmountMonthMapper.java |  115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 115 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StClientAmountMonthMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StClientAmountMonthMapper.java
new file mode 100644
index 0000000..a8ce351
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StClientAmountMonthMapper.java
@@ -0,0 +1,115 @@
+package com.dy.pipIrrGlobal.daoSt;
+
+import com.dy.pipIrrGlobal.pojoSt.StClientAmountMonth;
+import com.dy.pipIrrGlobal.voSt.VoClientAmountStatistics;
+import com.dy.pipIrrGlobal.voSt.VoStClientAmountMonth;
+import com.dy.pipIrrGlobal.voSt.VoStClientIdAmountYearRecord;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @Author: liurunyu
+ * @Date: 2024/12/30 8:54
+ * @Description
+ */
+@Mapper
+public interface StClientAmountMonthMapper {
+    /**
+     * delete by primary key
+     *
+     * @param id primaryKey
+     * @return deleteCount
+     */
+    int deleteByPrimaryKey(Long id);
+
+    /**
+     * insert record to table
+     *
+     * @param record the record
+     * @return insert count
+     */
+    int insert(StClientAmountMonth record);
+
+    /**
+     * insert record to table selective
+     *
+     * @param record the record
+     * @return insert count
+     */
+    int insertSelective(StClientAmountMonth record);
+
+    /**
+     * select by primary key
+     *
+     * @param id primary key
+     * @return object by primary key
+     */
+    StClientAmountMonth selectByPrimaryKey(Long id);
+
+    /**
+     * update record selective
+     *
+     * @param record the updated record
+     * @return update count
+     */
+    int updateByPrimaryKeySelective(StClientAmountMonth record);
+
+    /**
+     * update record
+     *
+     * @param record the updated record
+     * @return update count
+     */
+    int updateByPrimaryKey(StClientAmountMonth record);
+
+
+
+    //////////////////////////////////////
+    //鏌ヨ缁熻缁撴灉
+    /**
+     * 鏌ヨ鎬绘暟閲�
+     * @param params
+     * @return
+     */
+    Long selectCountMonthStatistics(Map<?, ?> params) ;
+
+    List<VoStClientIdAmountYearRecord> selectClientIds4MonthStatistics(Map<?, ?> params) ;
+
+    /**
+     * 鏌ヨ鍒嗛〉鏁版嵁
+     * @param params
+     * @return
+     */
+    List<VoStClientAmountMonth> selectMonthStatistics(Map<?, ?> params) ;
+
+    //////////////////////////////////////
+    //缁熻鐩稿叧
+    /**
+     * 鏌ヨ鏌愬勾鏌愭湀 閲忓��
+     *
+     * @param year     鏌愬勾
+     * @return
+     */
+    List<StClientAmountMonth> selectByYear(@Param("year") Integer year);
+
+    /**
+     * 浠ュ啘鎴风淮搴︾粺璁$敤姘撮噺鍙婅垂鐢�
+     *
+     * @param year 缁熻骞村害
+     * @return
+     */
+    List<VoClientAmountStatistics> statisticsByClient(Integer year);
+
+
+    //////////////////////////////////////
+    //涓存椂浠诲姟鐩稿叧
+    /**
+     * 鍒犻櫎鍏ㄩ儴
+     * @return
+     */
+    int deleteAll() ;
+
+}
\ No newline at end of file

--
Gitblit v1.8.0