From 29807fea73899a5b775eb2c7d8e1c05ea8bc0c3d Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期五, 02 八月 2024 17:00:31 +0800
Subject: [PATCH] 2024-08-02 朱宝民 优化获取全部取水口接口,包含经纬度及12小时之内的报警信息

---
 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