@RestController
@RequestMapping(value="${hsweb.web.mappings.dictionary:dictionary}")
@Authorize(permission="dictionary",
description="\u6570\u636e\u5b57\u5178\u7ba1\u7406")
public class DictionaryController
extends Object
implements SimpleGenericEntityController<DictionaryEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>
| 构造器和说明 |
|---|
DictionaryController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseMessage<List<org.hswebframework.web.dict.DictDefine>> |
getAllDefineById() |
ResponseMessage<org.hswebframework.web.dict.DictDefine> |
getDefineById(String id) |
ResponseMessage<List<org.hswebframework.web.dict.EnumDict<Object>>> |
getItemDefineById(String id) |
DictionaryService |
getService() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmodelToEntityassertNotNull, count, getByPrimaryKey, getByPrimaryKey, list, listNoPagingsaveOrUpdate, updateByPrimaryKeyadddeleteByPrimaryKeypublic DictionaryService getService()
getService 在接口中 CreateController<DictionaryEntity,String,DictionaryEntity>getService 在接口中 DeleteController<DictionaryEntity,String>getService 在接口中 QueryController<DictionaryEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 SimpleCrudController<DictionaryEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 SimpleGenericEntityController<DictionaryEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 UpdateController<DictionaryEntity,String,DictionaryEntity>@GetMapping(value="/define/all") @Authorize(merge=false) public ResponseMessage<List<org.hswebframework.web.dict.DictDefine>> getAllDefineById()
@GetMapping(value="/define/{id:.+}")
@Authorize(merge=false)
public ResponseMessage<org.hswebframework.web.dict.DictDefine> getDefineById(@PathVariable
String id)
@GetMapping(value="/define/{id:.+}/items")
@Authorize(merge=false)
public ResponseMessage<List<org.hswebframework.web.dict.EnumDict<Object>>> getItemDefineById(@PathVariable
String id)
Copyright © 2016–2019. All rights reserved.