@Controller @RequestMapping(value="admin/bddept") public class CoreBdDeptController extends BaseController
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreBdDeptController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
add(BdDept bdDept)
添加
|
RetVo |
drag(BdDept bdDept)
部门树的拖拽
|
java.lang.String |
main()
主页面
|
RetVo |
modify(BdDept bdDept)
修改
|
RetPageVo |
query(java.util.Map<java.lang.String,java.lang.Object> params)
查询数据,所有的数据
|
RetVo |
querydeptuser(java.util.Map<java.lang.String,java.lang.Object> params)
查询部门人员
|
RetPageVo |
queryuse(java.util.Map<java.lang.String,java.lang.Object> params)
查询启用部门数据
|
RetVo |
remove(java.util.ArrayList<BdDept> listBdDEPT)
批量删除部门
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@RequestMapping(value="/", method=GET) public java.lang.String main()
@ResponseBody @RequestMapping(value="query", method=POST) public RetPageVo query(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 查询参数mapjava.lang.Exception
- 出错就抛出错误@ResponseBody @RequestMapping(value="queryuse", method=POST) public RetPageVo queryuse(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 查询参数java.lang.Exception
- 出错就抛出错误@ResponseBody @RequestMapping(value="modify", method=POST) public RetVo modify(@RequestBody BdDept bdDept) throws java.lang.Exception
bdDept
- 部门实体java.lang.Exception
- 出错就抛出错误@ResponseBody @RequestMapping(value="add", method=PUT) public RetVo add(@RequestBody BdDept bdDept) throws java.lang.Exception
bdDept
- 部门实体java.lang.Exception
- 出错就抛出错误@ResponseBody @RequestMapping(value="remove", method=DELETE) public RetVo remove(@RequestBody java.util.ArrayList<BdDept> listBdDEPT) throws java.lang.Exception
listBdDEPT
- 部门实体listjava.lang.Exception
- 出错就抛出错误@ResponseBody @RequestMapping(value="drag", method=POST) public RetVo drag(@RequestBody BdDept bdDept) throws java.lang.Exception
bdDept
- 部门实体java.lang.Exception
- 出错就抛出错误@ResponseBody @RequestMapping(value="querydeptuser", method=POST) public RetVo querydeptuser(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 查询参数mapjava.lang.Exception
- 出错就抛出错误