diff --git a/src/main/java/com/zcloud/controller/keyProjects/PersonnelManagementController.java b/src/main/java/com/zcloud/controller/keyProjects/PersonnelManagementController.java index 273ba0ae..830b9336 100644 --- a/src/main/java/com/zcloud/controller/keyProjects/PersonnelManagementController.java +++ b/src/main/java/com/zcloud/controller/keyProjects/PersonnelManagementController.java @@ -66,6 +66,7 @@ public class PersonnelManagementController extends BaseController { @RequestMapping(value = "/delete") @RequiresPermissions("personnelmanagement:del") @ResponseBody + @DockAnnotation public Object delete() throws Exception { Map map = new HashMap(); String errInfo = "success"; @@ -93,6 +94,7 @@ public class PersonnelManagementController extends BaseController { @RequestMapping(value = "/edit") @RequiresPermissions("personnelmanagement:edit") @ResponseBody + @DockAnnotation(isAdd = true) public Object edit() throws Exception { Map map = new HashMap(); String errInfo = "success"; @@ -164,6 +166,7 @@ public class PersonnelManagementController extends BaseController { @RequestMapping(value = "/deleteAll") @RequiresPermissions("personnelmanagement:del") @ResponseBody + @DockAnnotation public Object deleteAll() throws Exception { Map map = new HashMap(); String errInfo = "success"; @@ -313,6 +316,7 @@ public class PersonnelManagementController extends BaseController { @RequestMapping(value = "/resetPwd") @ResponseBody + @DockAnnotation(isAdd = true) public Object resetPwd(Page page) throws Exception { Map map = new HashMap(); String errInfo = "success"; diff --git a/src/main/java/com/zcloud/controller/keyProjects/VideoResourcesController.java b/src/main/java/com/zcloud/controller/keyProjects/VideoResourcesController.java index 659c68be..2f5836c4 100644 --- a/src/main/java/com/zcloud/controller/keyProjects/VideoResourcesController.java +++ b/src/main/java/com/zcloud/controller/keyProjects/VideoResourcesController.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; @@ -40,6 +42,7 @@ public class VideoResourcesController extends BaseController { @RequestMapping(value = "/add") @RequiresPermissions("videomanager:add") @ResponseBody + @DockAnnotation(isAdd = true) public Object add() throws Exception { Map map = new HashMap(); String errInfo = "success"; @@ -52,6 +55,7 @@ public class VideoResourcesController extends BaseController { pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //操作人 pd.put("ISDELETE", "0"); //是否删除 videoResourcesService.save(pd); + map.put("dockData", JSON.toJSONString(pd)); map.put("result", errInfo); return map; } @@ -102,12 +106,12 @@ public class VideoResourcesController extends BaseController { return map; } - /** - * 修改 - * - * @param - * @throws Exception - */ + /** + * 修改 + * + * @param + * @throws Exception + */ @RequestMapping(value = "/edit") @RequiresPermissions("videomanager:edit") @ResponseBody