From a0a9fc7a58a39626a395d2760194641726e1cd35 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 25 四月 2025 10:48:15 +0800
Subject: [PATCH] 1、微信小程序后端轮灌迟延时长改为可配置的; 2、微信小程序查询取水口接口实现修改,改为后端模糊查询;

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

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StRechargeClientMonthMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StRechargeClientMonthMapper.java
new file mode 100644
index 0000000..4ee86f6
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StRechargeClientMonthMapper.java
@@ -0,0 +1,85 @@
+package com.dy.pipIrrGlobal.daoSt;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.dy.pipIrrGlobal.pojoSt.StRechargeClientMonth;
+import com.dy.pipIrrGlobal.voSt.VoClientRechargeStatistics;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * @Author: liurunyu
+ * @Date: 2024/12/25 15:48
+ * @Description
+ */
+@Mapper
+public interface StRechargeClientMonthMapper extends BaseMapper<StRechargeClientMonth> {
+    /**
+     * 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(StRechargeClientMonth record);
+
+    /**
+     * insert record to table selective
+     *
+     * @param record the record
+     * @return insert count
+     */
+    int insertSelective(StRechargeClientMonth record);
+
+    /**
+     * select by primary key
+     *
+     * @param id primary key
+     * @return object by primary key
+     */
+    StRechargeClientMonth selectByPrimaryKey(Long id);
+
+    /**
+     * update record selective
+     *
+     * @param record the updated record
+     * @return update count
+     */
+    int updateByPrimaryKeySelective(StRechargeClientMonth record);
+
+    /**
+     * update record
+     *
+     * @param record the updated record
+     * @return update count
+     */
+    int updateByPrimaryKey(StRechargeClientMonth record);
+
+
+    ///////////////////////////////
+    //缁熻鐩稿叧
+    /**
+     * 鎸囧畾骞存寚瀹氭湀鐨勫悇鍐滄埛缁熻
+     * @param year
+     * @return
+     */
+    List<VoClientRechargeStatistics> statisticsByClient(@Param("year")Integer year) ;
+
+    /**
+     * 鏌ヨ鎸囧畾鍐滄埛鎸囧畾骞寸殑鍚勬湀缁熻
+     * @param clientId
+     * @param year
+     * @return
+     */
+    List<StRechargeClientMonth> selectByClientAndYear(@Param("clientId")Long clientId,
+                                                   @Param("year")Integer year);
+
+}
\ No newline at end of file

--
Gitblit v1.8.0