From 4f6a87494a6117ba10e4f0769bcd59a5bd30474d Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期四, 01 八月 2024 15:51:40 +0800 Subject: [PATCH] 远程测控八个接口解决bug --- 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