重点工程部分代码
parent
ef780ecd83
commit
88c2a8fdeb
|
@ -2,6 +2,7 @@ package com.zcloud.controller.keyProjects;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
|
import com.zcloud.aspect.DockAnnotation;
|
||||||
import com.zcloud.controller.base.BaseController;
|
import com.zcloud.controller.base.BaseController;
|
||||||
import com.zcloud.entity.Page;
|
import com.zcloud.entity.Page;
|
||||||
import com.zcloud.entity.PageData;
|
import com.zcloud.entity.PageData;
|
||||||
|
@ -85,6 +86,7 @@ public class AIWarningController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/addPeople")
|
@RequestMapping(value = "/addPeople")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation(isAdd = true)
|
||||||
public Object addPeople() throws Exception {
|
public Object addPeople() throws Exception {
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -138,6 +140,7 @@ public class AIWarningController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/delete")
|
@RequestMapping(value = "/delete")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation
|
||||||
public Object delete() throws Exception {
|
public Object delete() throws Exception {
|
||||||
Map<String, String> map = new HashMap<String, String>();
|
Map<String, String> map = new HashMap<String, String>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package com.zcloud.controller.keyProjects;
|
package com.zcloud.controller.keyProjects;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.JSON;
|
||||||
|
import com.zcloud.aspect.DockAnnotation;
|
||||||
import com.zcloud.controller.base.BaseController;
|
import com.zcloud.controller.base.BaseController;
|
||||||
import com.zcloud.entity.Page;
|
import com.zcloud.entity.Page;
|
||||||
import com.zcloud.entity.PageData;
|
import com.zcloud.entity.PageData;
|
||||||
|
@ -57,6 +59,7 @@ public class OutSourcedController extends BaseController {
|
||||||
@RequestMapping(value = "/add")
|
@RequestMapping(value = "/add")
|
||||||
@RequiresPermissions("outsourced:add")
|
@RequiresPermissions("outsourced:add")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation(isAdd = true)
|
||||||
public Object add(@RequestParam(value = "file", required = false) MultipartFile file,
|
public Object add(@RequestParam(value = "file", required = false) MultipartFile file,
|
||||||
@RequestParam(value = "file1", required = false) MultipartFile file1,
|
@RequestParam(value = "file1", required = false) MultipartFile file1,
|
||||||
@RequestParam(value = "file2", required = false) MultipartFile file2,
|
@RequestParam(value = "file2", required = false) MultipartFile file2,
|
||||||
|
@ -236,6 +239,7 @@ public class OutSourcedController extends BaseController {
|
||||||
//}
|
//}
|
||||||
pd.put("INVOLVING_CORPS", Jurisdiction.getCORPINFO_ID());
|
pd.put("INVOLVING_CORPS", Jurisdiction.getCORPINFO_ID());
|
||||||
outsourcedService.save(pd);
|
outsourcedService.save(pd);
|
||||||
|
map.put("dockData", JSON.toJSONString(pd));
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
@ -249,6 +253,7 @@ public class OutSourcedController extends BaseController {
|
||||||
@RequestMapping(value = "/delete")
|
@RequestMapping(value = "/delete")
|
||||||
@RequiresPermissions("outsourced:del")
|
@RequiresPermissions("outsourced:del")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation
|
||||||
public Object delete() throws Exception {
|
public Object delete() throws Exception {
|
||||||
Map<String, String> map = new HashMap<String, String>();
|
Map<String, String> map = new HashMap<String, String>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -268,6 +273,7 @@ public class OutSourcedController extends BaseController {
|
||||||
@RequestMapping(value = "/edit")
|
@RequestMapping(value = "/edit")
|
||||||
@RequiresPermissions("outsourced:edit")
|
@RequiresPermissions("outsourced:edit")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation(isAdd = true)
|
||||||
public Object edit(@RequestParam(value = "file", required = false) MultipartFile file,
|
public Object edit(@RequestParam(value = "file", required = false) MultipartFile file,
|
||||||
@RequestParam(value = "file1", required = false) MultipartFile file1,
|
@RequestParam(value = "file1", required = false) MultipartFile file1,
|
||||||
@RequestParam(value = "file2", required = false) MultipartFile file2,
|
@RequestParam(value = "file2", required = false) MultipartFile file2,
|
||||||
|
@ -569,6 +575,7 @@ public class OutSourcedController extends BaseController {
|
||||||
@RequestMapping(value = "/deleteAll")
|
@RequestMapping(value = "/deleteAll")
|
||||||
@RequiresPermissions("outsourced:del")
|
@RequiresPermissions("outsourced:del")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation
|
||||||
public Object deleteAll() throws Exception {
|
public Object deleteAll() throws Exception {
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
@ -709,6 +716,7 @@ public class OutSourcedController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/jie")
|
@RequestMapping(value = "/jie")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
@DockAnnotation
|
||||||
public Object jie() throws Exception {
|
public Object jie() throws Exception {
|
||||||
Map<String, String> map = new HashMap<String, String>();
|
Map<String, String> map = new HashMap<String, String>();
|
||||||
String errInfo = "success";
|
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/
|
gwj-backendaddr=http://192.168.0.31:8991/qa-prevention-gwj/
|
||||||
|
|
||||||
#mq ???????????
|
#mq ???????????
|
||||||
rocketmq.name-server=192.168.0.79:9876
|
rocketmq.name-server=192.168.0.75:9876
|
||||||
rocketmq.producer.group=libmiddle
|
rocketmq.producer.group=libmiddle
|
||||||
rocketmq.producer.send-message-timeout=3000
|
rocketmq.producer.send-message-timeout=3000
|
||||||
rocketmq.producer.compress-message-body-threshold=4096
|
rocketmq.producer.compress-message-body-threshold=4096
|
||||||
|
|
Loading…
Reference in New Issue