From 55e923c9eb7654e4cfd99c299d48f7b7912bc59c Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 20 十二月 2023 08:53:57 +0800
Subject: [PATCH] 1、通信中间件多个恒久任务由一个线程执行改为一个恒久任务一个线程执行,原因是单个恒久任务可能用时很长 ; 2、优化通信中间件代码

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeMapper.java |   26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeMapper.java
index 44cd6dc..ef6d8b4 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeMapper.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeMapper.java
@@ -1,13 +1,18 @@
 package com.dy.pipIrrGlobal.daoSe;
 
 import com.dy.pipIrrGlobal.pojoSe.SeRecharge;
-import com.dy.pipIrrGlobal.pojoSe.VoRecharge;
-import org.apache.ibatis.annotations.Mapper;
+import com.dy.pipIrrGlobal.voSe.VoRecharge;
+import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 import java.util.Map;
 
-@Mapper
+/**
+ * @author ZhuBaoMin
+ * @date 2023/12/19 10:18
+ * @LastEditTime 2023/12/19 10:18
+ * @Description
+ */
 public interface SeRechargeMapper {
     int deleteByPrimaryKey(Long id);
 
@@ -15,7 +20,7 @@
 
     int insertSelective(SeRecharge record);
 
-    //SeRecharge selectByPrimaryKey(Long id);
+    SeRecharge selectByPrimaryKey(Long id);
 
     int updateByPrimaryKeySelective(SeRecharge record);
 
@@ -23,5 +28,18 @@
 
     Long getRecordCount(Map<?, ?> params);
 
+    /**
+     * 鏍规嵁鎸囧畾鐨勬潯浠惰幏鍙栧厖鍊艰褰�
+     * @param params
+     * @return
+     */
     List<VoRecharge> getRecharges(Map<?, ?> params);
+
+    /**
+     * 鏍规嵁姘村崱缂栧彿鍒犻櫎鍏呭�艰褰�
+     * @param cardNum
+     * @return
+     */
+    //Integer deleteByCardId(@Param("cardId") Long cardId);
+    Integer deleteByCardNum(@Param("cardNum") String cardNum);
 }
\ No newline at end of file

--
Gitblit v1.8.0