From 836ec39fdad422b1a148699a4c5fb8c5b4d395f0 Mon Sep 17 00:00:00 2001
From: zuoxiao <lf_zuo@163.com>
Date: 星期三, 25 六月 2025 11:04:33 +0800
Subject: [PATCH] feat(card): 添加管理类型卡写卡功能并优化卡片相关逻辑- 在 OperateTypeENUM 中添加 SUPPLEMENT 和 MANAGEMENT_CARD_WRITE 枚举值 - 在 SeManagementCard 中添加 cancelTime 和 state 字段 - 更新相关 mapper 和 XML 文件以支持新增字段 - 修改 CardSv 中的回调处理逻辑,支持管理类型卡写卡 - 优化 CreateManagementCardDto 中识别码的示例值
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java | 62 +++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java
new file mode 100644
index 0000000..ba81a50
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeHistoryMapper.java
@@ -0,0 +1,62 @@
+package com.dy.pipIrrGlobal.daoSe;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.dy.pipIrrGlobal.pojoSe.SeRechargeHistory;
+import com.dy.pipIrrGlobal.voSt.VoClientRechargeStatistics;
+import com.dy.pipIrrGlobal.voSt.VoIcRechargeStatistics;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * @author ZhuBaoMin
+ * @date 2025-06-06 10:34
+ * @LastEditTime 2025-06-06 10:34
+ * @Description
+ */
+
+@Mapper
+public interface SeRechargeHistoryMapper extends BaseMapper<SeRechargeHistory> {
+ int deleteByPrimaryKey(Long id);
+
+ int insert(SeRechargeHistory record);
+
+ int insertSelective(SeRechargeHistory record);
+
+ SeRechargeHistory selectByPrimaryKey(Long id);
+
+ int updateByPrimaryKeySelective(SeRechargeHistory record);
+
+ int updateByPrimaryKey(SeRechargeHistory record);
+
+ /**
+ * 渚濇嵁姘村崱ID灏嗘渶鍚庝竴鏉℃棤鏁堢姸鎬佺殑鍏呭�煎巻鍙茶褰曟敼涓烘湁鏁�
+ * @param cardId
+ * @return
+ */
+ Integer turnRechargeHistoryValidByCardId(@Param("cardId") Long cardId);
+
+ /**
+ * 鍏呭�兼満鐢ㄦ牴鎹鍗曞彿灏嗗厖鍊煎巻鍙茶褰曟敼涓烘湁鏁�
+ * @param orderNumber
+ * @return
+ */
+ Integer turnRechargeHistoryValidByOrderNumber(@Param("orderNumber") String orderNumber);
+
+ /**
+ * 浠ュ啘鎴峰拰IC鍗′负鍗曚綅缁熻涓�鏃ョ殑鍏呭��
+ * @param statisticsStartId
+ * @param statisticsEndId
+ * @return
+ */
+ List<VoIcRechargeStatistics> statisticsByIc(@Param("startId")Long statisticsStartId, @Param("endId")Long statisticsEndId) ;
+ /**
+ * 浠ュ啘鎴蜂负鍗曚綅缁熻涓�鏃ョ殑鍏呭��
+ * @param statisticsStartId
+ * @param statisticsEndId
+ * @return
+ */
+ List<VoClientRechargeStatistics> statisticsByClient(@Param("startId")Long statisticsStartId, @Param("endId")Long statisticsEndId) ;
+
+}
\ No newline at end of file
--
Gitblit v1.8.0