From 3b668f811fce818ce69ac9bca4195976704dc719 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 18 十二月 2023 15:35:59 +0800
Subject: [PATCH] 1、优化ID生成器,方法同步锁改为静态变量同步锁; 2、RTU模拟器中增加TCP连接输出日志信息; 3、RTU模拟器中增加Rmi相关输出日志信息;
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeMapper.java | 20 ++++++++++++++++----
1 files changed, 16 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..800666b 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/8 15:25
+ * @LastEditTime 2023/12/8 15:25
+ * @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);
@@ -24,4 +29,11 @@
Long getRecordCount(Map<?, ?> params);
List<VoRecharge> getRecharges(Map<?, ?> params);
+
+ /**
+ * 鏍规嵁姘村崱缂栧彿鍒犻櫎鍏呭�艰褰�
+ * @param cardId
+ * @return
+ */
+ Integer deleteByCardId(@Param("cardId") Long cardId);
}
\ No newline at end of file
--
Gitblit v1.8.0