@RestController @RequestMapping(value="news") public class SysNewsController extends top.ibase4j.core.base.BaseController<SysNews,SysNewsService>
Constructor and Description |
---|
SysNewsController() |
Modifier and Type | Method and Description |
---|---|
Object |
delete(org.springframework.ui.ModelMap modelMap,
SysNews param) |
Object |
get(org.springframework.ui.ModelMap modelMap,
SysNews param) |
Object |
query(org.springframework.ui.ModelMap modelMap,
Map<String,Object> param) |
Object |
update(org.springframework.ui.ModelMap modelMap,
SysNews param) |
del, del, delete, get, get, query, queryList, queryList, update
@PutMapping(value="/read/list") public Object query(org.springframework.ui.ModelMap modelMap, @RequestBody Map<String,Object> param)
query
in class top.ibase4j.core.base.BaseController<SysNews,SysNewsService>
@PutMapping(value="/read/detail") public Object get(org.springframework.ui.ModelMap modelMap, @RequestBody SysNews param)
@PostMapping public Object update(org.springframework.ui.ModelMap modelMap, @RequestBody SysNews param)
update
in class top.ibase4j.core.base.BaseController<SysNews,SysNewsService>
@DeleteMapping public Object delete(org.springframework.ui.ModelMap modelMap, @RequestBody SysNews param)
delete
in class top.ibase4j.core.base.BaseController<SysNews,SysNewsService>
Copyright © 2018. All rights reserved.