Merge remote-tracking branch 'origin/czks1.0' into czks1.0
# Conflicts: # src/main/java/com/zcloud/aspect/DockingAspect.javapull/14/head
						commit
						60ea9c4d6a
					
				| 
						 | 
					@ -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";
 | 
				
			||||||
| 
						 | 
					@ -100,6 +102,7 @@ public class AIWarningController extends BaseController {
 | 
				
			||||||
            set.add(p);
 | 
					            set.add(p);
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        if (set.size() == listperson.size()) {  //判断是否有重复数据
 | 
					        if (set.size() == listperson.size()) {  //判断是否有重复数据
 | 
				
			||||||
 | 
					            HashMap pdListmap = new HashMap<>();
 | 
				
			||||||
            for (int i = 0; i < listperson.size(); i++) {
 | 
					            for (int i = 0; i < listperson.size(); i++) {
 | 
				
			||||||
                pd.put("AIWARNING_PEOPLE", listperson.get(i));
 | 
					                pd.put("AIWARNING_PEOPLE", listperson.get(i));
 | 
				
			||||||
                pd.put("CONTRACT_PIC_ID", this.get32UUID());    //主键
 | 
					                pd.put("CONTRACT_PIC_ID", this.get32UUID());    //主键
 | 
				
			||||||
| 
						 | 
					@ -109,12 +112,22 @@ public class AIWarningController extends BaseController {
 | 
				
			||||||
                pd.put("OPERATOR", DateUtil.date2Str(new Date()));    //修改人
 | 
					                pd.put("OPERATOR", DateUtil.date2Str(new Date()));    //修改人
 | 
				
			||||||
                pd.put("ISDELETE", 0);    //是否删除
 | 
					                pd.put("ISDELETE", 0);    //是否删除
 | 
				
			||||||
                aiwarningService.addPeople(pd);
 | 
					                aiwarningService.addPeople(pd);
 | 
				
			||||||
 | 
					                PageData pdList = new PageData();
 | 
				
			||||||
 | 
					                pdList.put("AIWARNING_PEOPLE", listperson.get(i));
 | 
				
			||||||
 | 
					                pdList.put("CONTRACT_PIC_ID", pd.getString("CONTRACT_PIC_ID"));    //主键
 | 
				
			||||||
 | 
					                pdList.put("CREATTIME", DateUtil.date2Str(new Date()));    //添加时间
 | 
				
			||||||
 | 
					                pdList.put("CREATOR", DateUtil.date2Str(new Date()));    //添加人
 | 
				
			||||||
 | 
					                pdList.put("OPERATTIME", DateUtil.date2Str(new Date()));    //修改时间
 | 
				
			||||||
 | 
					                pdList.put("OPERATOR", DateUtil.date2Str(new Date()));    //修改人
 | 
				
			||||||
 | 
					                pdList.put("ISDELETE", 0);    //是否删除
 | 
				
			||||||
 | 
					                pdListmap.put("pdList"+i,JSON.toJSONString(pdList));
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            pd.put("pdListmap",JSON.toJSONString(pdListmap));
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            map.put("state", "1");
 | 
					            map.put("state", "1");
 | 
				
			||||||
            map.put("msg", "报警人有重复数据");
 | 
					            map.put("msg", "报警人有重复数据");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        map.put("dockData",JSON.toJSONString(pd));
 | 
				
			||||||
        map.put("result", errInfo);
 | 
					        map.put("result", errInfo);
 | 
				
			||||||
        return map;
 | 
					        return map;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -127,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";
 | 
				
			||||||
| 
						 | 
					@ -157,6 +171,7 @@ public class AIWarningController extends BaseController {
 | 
				
			||||||
    @RequestMapping(value = "/edit")
 | 
					    @RequestMapping(value = "/edit")
 | 
				
			||||||
    @ResponseBody
 | 
					    @ResponseBody
 | 
				
			||||||
    @Transactional
 | 
					    @Transactional
 | 
				
			||||||
 | 
					    @DockAnnotation
 | 
				
			||||||
    public Object edit() throws Exception {
 | 
					    public Object edit() throws Exception {
 | 
				
			||||||
        Map<String, Object> map = new HashMap<String, Object>();
 | 
					        Map<String, Object> map = new HashMap<String, Object>();
 | 
				
			||||||
        String errInfo = "success";
 | 
					        String errInfo = "success";
 | 
				
			||||||
| 
						 | 
					@ -264,6 +279,7 @@ public class AIWarningController extends BaseController {
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    @RequestMapping(value = "/deleteAll")
 | 
					    @RequestMapping(value = "/deleteAll")
 | 
				
			||||||
    @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";
 | 
				
			||||||
| 
						 | 
					@ -300,6 +316,7 @@ public class AIWarningController extends BaseController {
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    @RequestMapping(value = "/addAiWarning")
 | 
					    @RequestMapping(value = "/addAiWarning")
 | 
				
			||||||
    @ResponseBody
 | 
					    @ResponseBody
 | 
				
			||||||
 | 
					    @DockAnnotation
 | 
				
			||||||
    public Object addAiWarning(HttpServletRequest request) throws Exception {
 | 
					    public Object addAiWarning(HttpServletRequest request) throws Exception {
 | 
				
			||||||
        Map<String, Object> map = new HashMap<String, Object>();
 | 
					        Map<String, Object> map = new HashMap<String, Object>();
 | 
				
			||||||
        StringBuffer fhLog = new StringBuffer();
 | 
					        StringBuffer fhLog = new StringBuffer();
 | 
				
			||||||
| 
						 | 
					@ -432,6 +449,7 @@ public class AIWarningController extends BaseController {
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    @RequestMapping(value = "/deleteDisposer")
 | 
					    @RequestMapping(value = "/deleteDisposer")
 | 
				
			||||||
    @ResponseBody
 | 
					    @ResponseBody
 | 
				
			||||||
 | 
					    @DockAnnotation
 | 
				
			||||||
    public Object deleteDisposer() throws Exception {
 | 
					    public Object deleteDisposer() throws Exception {
 | 
				
			||||||
        Map<String, Object> map = new HashMap<String, Object>();
 | 
					        Map<String, Object> map = new HashMap<String, Object>();
 | 
				
			||||||
        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,
 | 
				
			||||||
| 
						 | 
					@ -239,6 +242,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);
 | 
				
			||||||
        map.put("sendPicturesList", strings);
 | 
					        map.put("sendPicturesList", strings);
 | 
				
			||||||
        return map;
 | 
					        return map;
 | 
				
			||||||
| 
						 | 
					@ -253,6 +257,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";
 | 
				
			||||||
| 
						 | 
					@ -272,6 +277,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,
 | 
				
			||||||
| 
						 | 
					@ -573,6 +579,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";
 | 
				
			||||||
| 
						 | 
					@ -713,6 +720,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";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -66,6 +66,7 @@ public class PersonnelManagementController extends BaseController {
 | 
				
			||||||
    @RequestMapping(value = "/delete")
 | 
					    @RequestMapping(value = "/delete")
 | 
				
			||||||
    @RequiresPermissions("personnelmanagement:del")
 | 
					    @RequiresPermissions("personnelmanagement: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";
 | 
				
			||||||
| 
						 | 
					@ -93,6 +94,7 @@ public class PersonnelManagementController extends BaseController {
 | 
				
			||||||
    @RequestMapping(value = "/edit")
 | 
					    @RequestMapping(value = "/edit")
 | 
				
			||||||
    @RequiresPermissions("personnelmanagement:edit")
 | 
					    @RequiresPermissions("personnelmanagement:edit")
 | 
				
			||||||
    @ResponseBody
 | 
					    @ResponseBody
 | 
				
			||||||
 | 
					    @DockAnnotation(isAdd = true)
 | 
				
			||||||
    public Object edit() throws Exception {
 | 
					    public Object edit() throws Exception {
 | 
				
			||||||
        Map<String, Object> map = new HashMap<String, Object>();
 | 
					        Map<String, Object> map = new HashMap<String, Object>();
 | 
				
			||||||
        String errInfo = "success";
 | 
					        String errInfo = "success";
 | 
				
			||||||
| 
						 | 
					@ -164,6 +166,7 @@ public class PersonnelManagementController extends BaseController {
 | 
				
			||||||
    @RequestMapping(value = "/deleteAll")
 | 
					    @RequestMapping(value = "/deleteAll")
 | 
				
			||||||
    @RequiresPermissions("personnelmanagement:del")
 | 
					    @RequiresPermissions("personnelmanagement: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";
 | 
				
			||||||
| 
						 | 
					@ -313,6 +316,7 @@ public class PersonnelManagementController extends BaseController {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @RequestMapping(value = "/resetPwd")
 | 
					    @RequestMapping(value = "/resetPwd")
 | 
				
			||||||
    @ResponseBody
 | 
					    @ResponseBody
 | 
				
			||||||
 | 
					    @DockAnnotation(isAdd = true)
 | 
				
			||||||
    public Object resetPwd(Page page) throws Exception {
 | 
					    public Object resetPwd(Page page) throws Exception {
 | 
				
			||||||
        Map<String, Object> map = new HashMap<String, Object>();
 | 
					        Map<String, Object> map = new HashMap<String, Object>();
 | 
				
			||||||
        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;
 | 
				
			||||||
| 
						 | 
					@ -39,6 +41,7 @@ public class VideoManagerController extends BaseController {
 | 
				
			||||||
	@RequestMapping(value="/add")
 | 
						@RequestMapping(value="/add")
 | 
				
			||||||
	@RequiresPermissions("videomanager:add")
 | 
						@RequiresPermissions("videomanager:add")
 | 
				
			||||||
	@ResponseBody
 | 
						@ResponseBody
 | 
				
			||||||
 | 
						@DockAnnotation(isAdd = true)
 | 
				
			||||||
	public Object add() throws Exception{
 | 
						public Object add() throws Exception{
 | 
				
			||||||
		Map<String,Object> map = new HashMap<String,Object>();
 | 
							Map<String,Object> map = new HashMap<String,Object>();
 | 
				
			||||||
		String errInfo = "success";
 | 
							String errInfo = "success";
 | 
				
			||||||
| 
						 | 
					@ -50,6 +53,7 @@ public class VideoManagerController extends BaseController {
 | 
				
			||||||
		pd.put("OPUSER", Jurisdiction.getUsername());	//操作人
 | 
							pd.put("OPUSER", Jurisdiction.getUsername());	//操作人
 | 
				
			||||||
		pd.put("ISDELETE", "0");	//是否删除
 | 
							pd.put("ISDELETE", "0");	//是否删除
 | 
				
			||||||
		videomanagerService.save(pd);
 | 
							videomanagerService.save(pd);
 | 
				
			||||||
 | 
							map.put("dockData", JSON.toJSONString(pd));
 | 
				
			||||||
		map.put("result", errInfo);
 | 
							map.put("result", errInfo);
 | 
				
			||||||
		return map;
 | 
							return map;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					@ -61,6 +65,7 @@ public class VideoManagerController extends BaseController {
 | 
				
			||||||
	@RequestMapping(value="/delete")
 | 
						@RequestMapping(value="/delete")
 | 
				
			||||||
	@RequiresPermissions("videomanager:del")
 | 
						@RequiresPermissions("videomanager: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";
 | 
				
			||||||
| 
						 | 
					@ -78,12 +83,14 @@ public class VideoManagerController extends BaseController {
 | 
				
			||||||
	@RequestMapping(value="/edit")
 | 
						@RequestMapping(value="/edit")
 | 
				
			||||||
	@RequiresPermissions("videomanager:edit")
 | 
						@RequiresPermissions("videomanager:edit")
 | 
				
			||||||
	@ResponseBody
 | 
						@ResponseBody
 | 
				
			||||||
 | 
						@DockAnnotation(isAdd = true)
 | 
				
			||||||
	public Object edit() throws Exception{
 | 
						public Object edit() throws Exception{
 | 
				
			||||||
		Map<String,Object> map = new HashMap<String,Object>();
 | 
							Map<String,Object> map = new HashMap<String,Object>();
 | 
				
			||||||
		String errInfo = "success";
 | 
							String errInfo = "success";
 | 
				
			||||||
		PageData pd = new PageData();
 | 
							PageData pd = new PageData();
 | 
				
			||||||
		pd = this.getPageData();
 | 
							pd = this.getPageData();
 | 
				
			||||||
		videomanagerService.edit(pd);
 | 
							videomanagerService.edit(pd);
 | 
				
			||||||
 | 
							map.put("dockData", JSON.toJSONString(pd));
 | 
				
			||||||
		map.put("result", errInfo);
 | 
							map.put("result", errInfo);
 | 
				
			||||||
		return map;
 | 
							return map;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					@ -211,6 +218,7 @@ public class VideoManagerController extends BaseController {
 | 
				
			||||||
	@RequestMapping(value="/deleteAll")
 | 
						@RequestMapping(value="/deleteAll")
 | 
				
			||||||
	@RequiresPermissions("videomanager:del")
 | 
						@RequiresPermissions("videomanager: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";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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;
 | 
				
			||||||
| 
						 | 
					@ -40,6 +42,7 @@ public class VideoResourcesController extends BaseController {
 | 
				
			||||||
    @RequestMapping(value = "/add")
 | 
					    @RequestMapping(value = "/add")
 | 
				
			||||||
    @RequiresPermissions("videomanager:add")
 | 
					    @RequiresPermissions("videomanager:add")
 | 
				
			||||||
    @ResponseBody
 | 
					    @ResponseBody
 | 
				
			||||||
 | 
					    @DockAnnotation(isAdd = true)
 | 
				
			||||||
    public Object add() throws Exception {
 | 
					    public Object add() throws Exception {
 | 
				
			||||||
        Map<String, Object> map = new HashMap<String, Object>();
 | 
					        Map<String, Object> map = new HashMap<String, Object>();
 | 
				
			||||||
        String errInfo = "success";
 | 
					        String errInfo = "success";
 | 
				
			||||||
| 
						 | 
					@ -52,6 +55,7 @@ public class VideoResourcesController extends BaseController {
 | 
				
			||||||
        pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());    //操作人
 | 
					        pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());    //操作人
 | 
				
			||||||
        pd.put("ISDELETE", "0");    //是否删除
 | 
					        pd.put("ISDELETE", "0");    //是否删除
 | 
				
			||||||
        videoResourcesService.save(pd);
 | 
					        videoResourcesService.save(pd);
 | 
				
			||||||
 | 
					        map.put("dockData", JSON.toJSONString(pd));
 | 
				
			||||||
        map.put("result", errInfo);
 | 
					        map.put("result", errInfo);
 | 
				
			||||||
        return map;
 | 
					        return map;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -65,6 +69,7 @@ public class VideoResourcesController extends BaseController {
 | 
				
			||||||
    @RequestMapping(value = "/delete")
 | 
					    @RequestMapping(value = "/delete")
 | 
				
			||||||
    @RequiresPermissions("videomanager:del")
 | 
					    @RequiresPermissions("videomanager: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";
 | 
				
			||||||
| 
						 | 
					@ -111,6 +116,7 @@ public class VideoResourcesController extends BaseController {
 | 
				
			||||||
    @RequestMapping(value = "/edit")
 | 
					    @RequestMapping(value = "/edit")
 | 
				
			||||||
    @RequiresPermissions("videomanager:edit")
 | 
					    @RequiresPermissions("videomanager:edit")
 | 
				
			||||||
    @ResponseBody
 | 
					    @ResponseBody
 | 
				
			||||||
 | 
					    @DockAnnotation
 | 
				
			||||||
    public Object edit() throws Exception {
 | 
					    public Object edit() throws Exception {
 | 
				
			||||||
        Map<String, Object> map = new HashMap<String, Object>();
 | 
					        Map<String, Object> map = new HashMap<String, Object>();
 | 
				
			||||||
        String errInfo = "success";
 | 
					        String errInfo = "success";
 | 
				
			||||||
| 
						 | 
					@ -173,6 +179,7 @@ public class VideoResourcesController extends BaseController {
 | 
				
			||||||
    @RequestMapping(value = "/deleteAll")
 | 
					    @RequestMapping(value = "/deleteAll")
 | 
				
			||||||
    @RequiresPermissions("videomanager:del")
 | 
					    @RequiresPermissions("videomanager: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";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -61,7 +61,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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -156,7 +156,8 @@
 | 
				
			||||||
		<if test="pd.UNIT_USE != null and pd.UNIT_USE != ''">
 | 
							<if test="pd.UNIT_USE != null and pd.UNIT_USE != ''">
 | 
				
			||||||
			and f.UNIT_USE like CONCAT(CONCAT('%', #{pd.UNIT_USE}),'%')
 | 
								and f.UNIT_USE like CONCAT(CONCAT('%', #{pd.UNIT_USE}),'%')
 | 
				
			||||||
		</if>
 | 
							</if>
 | 
				
			||||||
		GROUP BY f.OPERATTIME desc
 | 
							group by f.VIDEO_RESOURCES_ID
 | 
				
			||||||
 | 
							order BY f.OPERATTIME desc
 | 
				
			||||||
	</select>
 | 
						</select>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<!-- 列表(全部) -->
 | 
						<!-- 列表(全部) -->
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue