重点工程部分代码
parent
45da519a19
commit
745db61979
|
@ -66,6 +66,7 @@ public class PersonnelManagementController extends BaseController {
|
|||
@RequestMapping(value = "/delete")
|
||||
@RequiresPermissions("personnelmanagement:del")
|
||||
@ResponseBody
|
||||
@DockAnnotation
|
||||
public Object delete() throws Exception {
|
||||
Map<String, String> map = new HashMap<String, String>();
|
||||
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<String, Object> map = new HashMap<String, Object>();
|
||||
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<String, Object> map = new HashMap<String, Object>();
|
||||
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<String, Object> map = new HashMap<String, Object>();
|
||||
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;
|
||||
|
@ -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<String, Object> map = new HashMap<String, Object>();
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue