From 70b2c7a1f5b54cf9157d8fce4d6a9b0f2fadaebe Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期二, 15 四月 2025 17:13:28 +0800
Subject: [PATCH] 获取终止操作结果

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

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StConsumeIcMonthMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StConsumeIcMonthMapper.java
new file mode 100644
index 0000000..0dbcbdc
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSt/StConsumeIcMonthMapper.java
@@ -0,0 +1,87 @@
+package com.dy.pipIrrGlobal.daoSt;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.dy.pipIrrGlobal.pojoSt.StConsumeIcMonth;
+import com.dy.pipIrrGlobal.voSt.VoIcConsumeStatistics;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * @Author: liurunyu
+ * @Date: 2024/12/25 18:07
+ * @Description
+ */
+@Mapper
+public interface StConsumeIcMonthMapper extends BaseMapper<StConsumeIcMonth> {
+    /**
+     * 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(StConsumeIcMonth record);
+
+    /**
+     * insert record to table selective
+     *
+     * @param record the record
+     * @return insert count
+     */
+    int insertSelective(StConsumeIcMonth record);
+
+    /**
+     * select by primary key
+     *
+     * @param id primary key
+     * @return object by primary key
+     */
+    StConsumeIcMonth selectByPrimaryKey(Long id);
+
+    /**
+     * update record selective
+     *
+     * @param record the updated record
+     * @return update count
+     */
+    int updateByPrimaryKeySelective(StConsumeIcMonth record);
+
+    /**
+     * update record
+     *
+     * @param record the updated record
+     * @return update count
+     */
+    int updateByPrimaryKey(StConsumeIcMonth record);
+
+
+    ///////////////////////////////
+    //缁熻鐩稿叧
+    /**
+     * 鎸囧畾骞存寚瀹氭湀鐨勫悇鍐滄埛鍚処C鍗$粺璁�
+     * @param year
+     * @return
+     */
+    List<VoIcConsumeStatistics> statisticsByIc(@Param("year")Integer year) ;
+
+    /**
+     * 鏌ヨ鎸囧畾鍐滄埛鎸囧畾IC鍗℃寚瀹氬勾鐨勫悇鏈堢粺璁�
+     * @param clientId
+     * @param cardId
+     * @param year
+     * @return
+     */
+    List<StConsumeIcMonth> selectByClientAndCardAndYear(@Param("clientId")Long clientId,
+                                                   @Param("cardId")Long cardId,
+                                                   @Param("year")Integer year);
+
+}
\ No newline at end of file

--
Gitblit v1.8.0