From 02fe533245eb42140b98e55eec7cfab673e2bd44 Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期六, 23 十二月 2023 11:16:29 +0800
Subject: [PATCH] 2023-12-23 朱宝民 开卡、补卡、充值重构,开卡/补卡记录查询改为参数传递
---
pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/loss/LossSv.java | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/loss/LossSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/loss/LossSv.java
index ea00e34..4d0f386 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/loss/LossSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/loss/LossSv.java
@@ -2,7 +2,8 @@
import com.dy.common.webUtil.QueryResultVo;
import com.dy.pipIrrGlobal.daoSe.SeLossMapper;
-import com.dy.pipIrrGlobal.pojoSe.VoLoss;
+import com.dy.pipIrrGlobal.pojoSe.SeLoss;
+import com.dy.pipIrrGlobal.voSe.VoLoss;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.common.utils.PojoUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -53,4 +54,15 @@
rsVo.obj = seLossMapper.getLosses(params);
return rsVo ;
}
+
+ /**
+ * 娣诲姞鎸傚け璁板綍
+ * @param po
+ * @return
+ */
+ public Long add(SeLoss po) {
+ seLossMapper.insert(po);
+ return po.getId();
+ }
+
}
--
Gitblit v1.8.0