diff --git a/src/main/java/com/zcloud/controller/keyProjects/PersonnelManagementController.java b/src/main/java/com/zcloud/controller/keyProjects/PersonnelManagementController.java index 896fea9f..df2838fd 100644 --- a/src/main/java/com/zcloud/controller/keyProjects/PersonnelManagementController.java +++ b/src/main/java/com/zcloud/controller/keyProjects/PersonnelManagementController.java @@ -75,6 +75,7 @@ public class PersonnelManagementController extends BaseController { String state = personnelmanagementService.IsJudgeCreator(getPageData().getString("PERSONNELMANAGEMENT_ID")); if ("1".equals(state)) { personnelmanagementService.delete(pd); + map.put("dockData", JSON.toJSONString(pd)); //返回结果 } else { errInfo = "fail"; map.put("result", errInfo); diff --git a/src/main/java/com/zcloud/controller/keyProjects/app/AppKeyProjectsController.java b/src/main/java/com/zcloud/controller/keyProjects/app/AppKeyProjectsController.java index cd435f83..918205a2 100644 --- a/src/main/java/com/zcloud/controller/keyProjects/app/AppKeyProjectsController.java +++ b/src/main/java/com/zcloud/controller/keyProjects/app/AppKeyProjectsController.java @@ -1,5 +1,7 @@ package com.zcloud.controller.keyProjects.app; +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; @@ -238,6 +240,7 @@ public class AppKeyProjectsController extends BaseController { */ @RequestMapping(value="/updateState") @ResponseBody + @DockAnnotation public Object updateState() throws Exception{ Map map = new HashMap(); String errInfo = "success"; @@ -245,6 +248,7 @@ public class AppKeyProjectsController extends BaseController { pd = this.getPageData(); outsourcedService.updateState(pd); //获取同时绑定的重点工程信息如果大于1表示还有其他重点工程 map.put("result", errInfo); + map.put("dockData", JSON.toJSONString(pd)); return map; } diff --git a/src/main/java/com/zcloud/service/hiddenApi/impl/HiddenUserApiServiceImpl.java b/src/main/java/com/zcloud/service/hiddenApi/impl/HiddenUserApiServiceImpl.java index 4f1621af..85b6b297 100644 --- a/src/main/java/com/zcloud/service/hiddenApi/impl/HiddenUserApiServiceImpl.java +++ b/src/main/java/com/zcloud/service/hiddenApi/impl/HiddenUserApiServiceImpl.java @@ -104,6 +104,10 @@ public class HiddenUserApiServiceImpl implements HiddenUserApiService { */ public PageData saveRectificationo(String findCreator , String hiddenId, String type, String loginUserId)throws Exception{ PageData pageData = new PageData(); + pageData.put("findCreator",findCreator); + pageData.put("hiddenId",hiddenId); + pageData.put("type",type); + pageData.put("loginUserId",loginUserId); if(!Tools.isEmpty(hiddenId)){ hiddenUserApiMapper.deleteByHidden(hiddenId); // 先删除后添加 }