From 83ae9bfcc24103dd951558020f005852f779caab Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 12 五月 2025 11:42:40 +0800
Subject: [PATCH] Merge branch 'dev-2.0.1' of http://120.76.84.145:10101/gitblit/r/java/zhihuishenqu into dev-2.0.1

---
 springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java |   29 ++++++++++++++++++++++++++++-
 1 files changed, 28 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java
index b9211ad..6e29ee1 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java
@@ -1,6 +1,18 @@
 package com.panzhihua.sangeshenbian.controller;
 
 
+import com.panzhihua.common.model.vos.R;
+import com.panzhihua.sangeshenbian.model.dto.ComplaintProcessDTO;
+import com.panzhihua.sangeshenbian.service.IComplaintProgressService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import lombok.RequiredArgsConstructor;
+import org.springframework.context.annotation.Lazy;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 
 import org.springframework.web.bind.annotation.RestController;
@@ -13,8 +25,23 @@
  * @author 
  * @since 2025-02-22
  */
+@Api(tags = {"【2.0.1】诉求办理进度相关接口"})
 @RestController
-@RequestMapping("/complaint-progress")
+@RequestMapping("/applet/complaint-progress")
+@RequiredArgsConstructor(onConstructor_ = {@Lazy})
 public class ComplaintProgressController {
+    private final IComplaintProgressService complaintProgressService;
+    @DeleteMapping("/{id}")
+    @ApiOperation("【2.0.1】删除办理进度")
+    public R<?> delete(@ApiParam(name = "id", value = "进度id", required = true) @PathVariable("id") Long id) {
+        complaintProgressService.removeById(id);
+        return R.ok();
+    }
+    @PutMapping("/edit")
+    @ApiOperation("【2.0.1】编辑办理进度")
+    public R<?> edit(@RequestBody ComplaintProcessDTO dto) {
+        complaintProgressService.edit(dto);
+        return R.ok();
+    }
 
 }

--
Gitblit v1.7.1