From 64bc7fee39c31a9bff9a79485ae48efa7ac70b2a Mon Sep 17 00:00:00 2001 From: Administrator <zhubaomin> Date: 星期四, 01 八月 2024 21:55:13 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-web/pipIrr-web-operation/src/main/java/com/dy/pipIrrOperation/feedback/FeedbackSv.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-operation/src/main/java/com/dy/pipIrrOperation/feedback/FeedbackSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-operation/src/main/java/com/dy/pipIrrOperation/feedback/FeedbackSv.java index 07a54d9..6ebe08b 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-operation/src/main/java/com/dy/pipIrrOperation/feedback/FeedbackSv.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-operation/src/main/java/com/dy/pipIrrOperation/feedback/FeedbackSv.java @@ -2,7 +2,9 @@ import com.dy.common.webUtil.QueryResultVo; import com.dy.pipIrrGlobal.daoOp.OpeFeedbackMapper; +import com.dy.pipIrrGlobal.daoOp.OpeFeedbackReplyMapper; import com.dy.pipIrrGlobal.pojoOp.OpeFeedback; +import com.dy.pipIrrGlobal.pojoOp.OpeFeedbackReply; import com.dy.pipIrrGlobal.voOp.Vofeedback; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; @@ -27,6 +29,9 @@ public class FeedbackSv { @Autowired private OpeFeedbackMapper opeFeedbackMapper; + + @Autowired + private OpeFeedbackReplyMapper opeFeedbackReplyMapper; /** * 娣诲姞闂鍙嶉 @@ -76,4 +81,14 @@ rsVo.obj = opeFeedbackMapper.getFeedbacks(params); return rsVo; } + + /** + * 闂鍙嶉鍥炲 + * @param reply + * @return + */ + public Integer addReply(OpeFeedbackReply reply) { + reply.setReplyTime(new Date()); + return opeFeedbackReplyMapper.insertSelective(reply); + } } -- Gitblit v1.8.0