From 88c2a8fdebcec40ab53fb6a1ec2d428a4b0d804c Mon Sep 17 00:00:00 2001 From: z Date: Tue, 19 Dec 2023 17:52:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=82=B9=E5=B7=A5=E7=A8=8B=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/keyProjects/AIWarningController.java | 3 +++ .../controller/keyProjects/OutSourcedController.java | 8 ++++++++ src/main/resources/application-dev.properties | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/zcloud/controller/keyProjects/AIWarningController.java b/src/main/java/com/zcloud/controller/keyProjects/AIWarningController.java index e16b6d2a..0b71c8bb 100644 --- a/src/main/java/com/zcloud/controller/keyProjects/AIWarningController.java +++ b/src/main/java/com/zcloud/controller/keyProjects/AIWarningController.java @@ -2,6 +2,7 @@ package com.zcloud.controller.keyProjects; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; +import com.zcloud.aspect.DockAnnotation; import com.zcloud.controller.base.BaseController; import com.zcloud.entity.Page; import com.zcloud.entity.PageData; @@ -85,6 +86,7 @@ public class AIWarningController extends BaseController { */ @RequestMapping(value = "/addPeople") @ResponseBody + @DockAnnotation(isAdd = true) public Object addPeople() throws Exception { Map map = new HashMap(); String errInfo = "success"; @@ -138,6 +140,7 @@ public class AIWarningController extends BaseController { */ @RequestMapping(value = "/delete") @ResponseBody + @DockAnnotation public Object delete() throws Exception { Map map = new HashMap(); String errInfo = "success"; diff --git a/src/main/java/com/zcloud/controller/keyProjects/OutSourcedController.java b/src/main/java/com/zcloud/controller/keyProjects/OutSourcedController.java index 28789e86..6fcdf97c 100644 --- a/src/main/java/com/zcloud/controller/keyProjects/OutSourcedController.java +++ b/src/main/java/com/zcloud/controller/keyProjects/OutSourcedController.java @@ -1,5 +1,7 @@ package com.zcloud.controller.keyProjects; +import com.alibaba.fastjson.JSON; +import com.zcloud.aspect.DockAnnotation; import com.zcloud.controller.base.BaseController; import com.zcloud.entity.Page; import com.zcloud.entity.PageData; @@ -57,6 +59,7 @@ public class OutSourcedController extends BaseController { @RequestMapping(value = "/add") @RequiresPermissions("outsourced:add") @ResponseBody + @DockAnnotation(isAdd = true) public Object add(@RequestParam(value = "file", required = false) MultipartFile file, @RequestParam(value = "file1", required = false) MultipartFile file1, @RequestParam(value = "file2", required = false) MultipartFile file2, @@ -236,6 +239,7 @@ public class OutSourcedController extends BaseController { //} pd.put("INVOLVING_CORPS", Jurisdiction.getCORPINFO_ID()); outsourcedService.save(pd); + map.put("dockData", JSON.toJSONString(pd)); map.put("result", errInfo); return map; } @@ -249,6 +253,7 @@ public class OutSourcedController extends BaseController { @RequestMapping(value = "/delete") @RequiresPermissions("outsourced:del") @ResponseBody + @DockAnnotation public Object delete() throws Exception { Map map = new HashMap(); String errInfo = "success"; @@ -268,6 +273,7 @@ public class OutSourcedController extends BaseController { @RequestMapping(value = "/edit") @RequiresPermissions("outsourced:edit") @ResponseBody + @DockAnnotation(isAdd = true) public Object edit(@RequestParam(value = "file", required = false) MultipartFile file, @RequestParam(value = "file1", required = false) MultipartFile file1, @RequestParam(value = "file2", required = false) MultipartFile file2, @@ -569,6 +575,7 @@ public class OutSourcedController extends BaseController { @RequestMapping(value = "/deleteAll") @RequiresPermissions("outsourced:del") @ResponseBody + @DockAnnotation public Object deleteAll() throws Exception { Map map = new HashMap(); String errInfo = "success"; @@ -709,6 +716,7 @@ public class OutSourcedController extends BaseController { */ @RequestMapping(value = "/jie") @ResponseBody + @DockAnnotation public Object jie() throws Exception { Map map = new HashMap(); String errInfo = "success"; diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index 88f83259..d73ed56b 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -60,7 +60,7 @@ gwj-baseimgpath=https://qgqy.qhdsafety.com/file/ gwj-backendaddr=http://192.168.0.31:8991/qa-prevention-gwj/ #mq ??????????? -rocketmq.name-server=192.168.0.79:9876 +rocketmq.name-server=192.168.0.75:9876 rocketmq.producer.group=libmiddle rocketmq.producer.send-message-timeout=3000 rocketmq.producer.compress-message-body-threshold=4096