From bc230a4679ee851d5bd9cab83ad6316e483a5764 Mon Sep 17 00:00:00 2001 From: Administrator <zhubaomin> Date: 星期一, 11 十二月 2023 15:21:36 +0800 Subject: [PATCH] 2023-12-11 朱宝民 IC卡14个接口完成,全部改为长主键 --- pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/reversal/ReversalSv.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 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 2a57911..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,6 +2,7 @@ import com.dy.common.webUtil.QueryResultVo; import com.dy.pipIrrGlobal.daoSe.SeReversalMapper; +import com.dy.pipIrrGlobal.pojoSe.SeReversal; import com.dy.pipIrrGlobal.voSe.VoReversal; import lombok.extern.slf4j.Slf4j; import org.apache.dubbo.common.utils.PojoUtils; @@ -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