From 027317737976773e87b0e2a3bdf2030d4946ec48 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 21 十二月 2023 14:55:36 +0800 Subject: [PATCH] 用户登录后,返回用户值对象中增加用户id --- pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cancel/CancelSv.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/cancel/CancelSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cancel/CancelSv.java index 77b580d..e7474bf 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cancel/CancelSv.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cancel/CancelSv.java @@ -2,7 +2,8 @@ import com.dy.common.webUtil.QueryResultVo; import com.dy.pipIrrGlobal.daoSe.SeCancelMapper; -import com.dy.pipIrrGlobal.pojoSe.VoCancel; +import com.dy.pipIrrGlobal.pojoSe.SeCancel; +import com.dy.pipIrrGlobal.voSe.VoCancel; 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 = seCancelMapper.getCancels(params); return rsVo ; } + + /** + * 娣诲姞娉ㄩ攢璁板綍 + * @param po + * @return + */ + public Long add(SeCancel po) { + seCancelMapper.insert(po); + return po.getId(); + } } -- Gitblit v1.8.0