重点工程部分代码
parent
45da519a19
commit
745db61979
|
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue