重点工程部分代码
parent
ef780ecd83
commit
88c2a8fdeb
|
@ -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<String, Object> map = new HashMap<String, Object>();
|
||||
String errInfo = "success";
|
||||
|
@ -138,6 +140,7 @@ public class AIWarningController extends BaseController {
|
|||
*/
|
||||
@RequestMapping(value = "/delete")
|
||||
@ResponseBody
|
||||
@DockAnnotation
|
||||
public Object delete() throws Exception {
|
||||
Map<String, String> map = new HashMap<String, String>();
|
||||
String errInfo = "success";
|
||||
|
|
|
@ -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<String, String> map = new HashMap<String, String>();
|
||||
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<String, Object> map = new HashMap<String, Object>();
|
||||
String errInfo = "success";
|
||||
|
@ -709,6 +716,7 @@ public class OutSourcedController extends BaseController {
|
|||
*/
|
||||
@RequestMapping(value = "/jie")
|
||||
@ResponseBody
|
||||
@DockAnnotation
|
||||
public Object jie() throws Exception {
|
||||
Map<String, String> map = new HashMap<String, String>();
|
||||
String errInfo = "success";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue