@Controller @RequestMapping(value="manager/corefunction") public class CoreFunctionController extends BaseController
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreFunctionController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
add(CoreRes coreRes)
新增
|
RetVo |
del(java.util.ArrayList<CoreRes> coreRes)
删除
|
java.lang.String |
main(javax.servlet.http.HttpServletRequest request)
主页面
|
RetVo |
modify(CoreRes coreRes)
修改
|
RetPageVo |
query(java.util.Map<java.lang.String,java.lang.Object> map)
查询功能
|
RetVo |
queryorgddata(java.lang.String resid,
java.lang.Boolean isallorg)
已过时。
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@RequestMapping(value="/") public java.lang.String main(javax.servlet.http.HttpServletRequest request)
request
- 请求对象@ResponseBody @RequestMapping(value="/query", method=POST) public RetPageVo query(@RequestParam java.util.Map<java.lang.String,java.lang.Object> map)
map
- 查询参数@Deprecated @ResponseBody @RequestMapping(value="/queryorgddata", method=GET) public RetVo queryorgddata(@RequestParam(value="resid",required=false) java.lang.String resid, @RequestParam(value="isallorg",required=false,defaultValue="true") java.lang.Boolean isallorg)
resid
- 资源idisallorg
- 是否显示"所有机构"@ResponseBody @RequestMapping(value="/add", method=POST) public RetVo add(@RequestBody CoreRes coreRes) throws java.lang.Exception
coreRes
- 资源实体java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="/del", method=DELETE) public RetVo del(@RequestBody java.util.ArrayList<CoreRes> coreRes) throws java.lang.Exception
coreRes
- 资源实体java.lang.Exception
- 出错会抛出异常