@Controller @RequestMapping(value="/manager/coredictionary") public class CoreDictionaryController extends BaseManagerController
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) CoreDictionaryService |
coreDicitionaryService |
(专用程序包) CoreDictionarymxService |
coreDictionarymxService |
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreDictionaryController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
add(CoreDictionary table) |
RetVo |
addmx(CoreDictionarymx table) |
java.lang.String |
index(javax.servlet.http.HttpServletRequest request)
主页面
|
RetVo |
modify(CoreDictionary table) |
RetVo |
modifymx(CoreDictionarymx table) |
RetPageVo |
query(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
querydictionarybyid(java.util.Map<java.lang.String,java.lang.Object> params)
获取字典的key-value值
|
RetVo |
queryDictionaryMXByCode(java.lang.String code)
获取字典通过code
|
RetVo |
queryMenuDictionary()
获取菜单的枚举
|
RetPageVo |
querymx(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
querymxtree(java.util.Map<java.lang.String,java.lang.Object> params)
查询数据懒加载
|
RetVo |
remove(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
removemx(java.util.Map<java.lang.String,java.lang.Object> params) |
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@Autowired CoreDictionaryService coreDicitionaryService
@Autowired CoreDictionarymxService coreDictionarymxService
@RequestMapping(value="/", method=GET) public java.lang.String index(javax.servlet.http.HttpServletRequest request)
request
- 请求对象@ResponseBody @RequestMapping(value="modify", method=POST) public RetVo modify(@RequestBody CoreDictionary table) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="add", method=PUT) public RetVo add(@RequestBody CoreDictionary table) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="remove", method=DELETE) public RetVo remove(@RequestBody java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="query", method=POST) public RetPageVo query(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="modifymx", method=POST) public RetVo modifymx(@RequestBody CoreDictionarymx table) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="addmx", method=PUT) public RetVo addmx(@RequestBody CoreDictionarymx table) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="removemx", method=DELETE) public RetVo removemx(@RequestBody java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="querymx", method=POST) public RetPageVo querymx(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="querymxtree", method=POST) public RetVo querymxtree(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 参数mapjava.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="querydictionarybyid", method=GET) public RetVo querydictionarybyid(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 参数mapjava.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="querydictionarymxlist", method=GET) public RetVo queryDictionaryMXByCode(@RequestParam java.lang.String code) throws java.lang.Exception
code
- 字典编号java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="querymenudictionary", method=GET) public RetVo queryMenuDictionary() throws java.lang.Exception
java.lang.Exception
- 出错会抛出异常