From 46e642bc01b6f0d5ea9d97bfb9f51a531c3bf0bd Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期六, 16 十二月 2023 11:30:16 +0800
Subject: [PATCH] 1、优化ID生成器 2、通信中间件去除对SpringDoc支持,原因报错斩未解决;
---
pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/reversal/ReversalSv.java | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/reversal/ReversalSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/reversal/ReversalSv.java
index e678c37..42d00be 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/reversal/ReversalSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/reversal/ReversalSv.java
@@ -2,7 +2,8 @@
import com.dy.common.webUtil.QueryResultVo;
import com.dy.pipIrrGlobal.daoSe.SeReversalMapper;
-import com.dy.pipIrrGlobal.pojoSe.VoReversal;
+import com.dy.pipIrrGlobal.pojoSe.SeReversal;
+import com.dy.pipIrrGlobal.voSe.VoReversal;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.common.utils.PojoUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -53,4 +54,14 @@
rsVo.obj = seReversalMapper.getReversals(params);
return rsVo ;
}
+
+ /**
+ * 娣诲姞鍐叉璁板綍
+ * @param po
+ * @return
+ */
+ public Long add(SeReversal po) {
+ seReversalMapper.insert(po);
+ return po.getId();
+ }
}
--
Gitblit v1.8.0