@RequestMapping(value="/sys/sysPost") @RestController public class SysPostController extends Object
| 构造器和说明 |
|---|
SysPostController() |
| 限定符和类型 | 方法和说明 |
|---|---|
xyz.shodown.common.response.Result<List<SysPost>> |
getAll(SysPost sysPost)
查询全部 可带条件,不分页
|
xyz.shodown.common.response.Result<SysPost> |
getById(Serializable id)
通过Id查询
|
xyz.shodown.common.response.Result<com.github.pagehelper.PageInfo<SysPost>> |
list(xyz.shodown.common.entity.PageParam<SysPost> pageDto) |
xyz.shodown.common.response.Result<?> |
logicalBatchDeleteById(List<SysPost> sysPostList)
根据id逻辑批量删除
|
xyz.shodown.common.response.Result<?> |
logicalDeleteById(SysPost sysPost)
根据id逻辑删除
|
xyz.shodown.common.response.Result<?> |
modifyState(SysPost sysPost)
更新状态
|
xyz.shodown.common.response.Result<?> |
save(SysPost sysPost)
保存
|
xyz.shodown.common.response.Result<?> |
update(SysPost sysPost)
修改
|
@PostMapping(value="/list") public xyz.shodown.common.response.Result<com.github.pagehelper.PageInfo<SysPost>> list(@RequestBody xyz.shodown.common.entity.PageParam<SysPost> pageDto)
@PostMapping(value="/save")
public xyz.shodown.common.response.Result<?> save(@RequestBody
SysPost sysPost)
@PostMapping(value="/update")
public xyz.shodown.common.response.Result<?> update(@RequestBody
SysPost sysPost)
@PostMapping(value="/logicalDelById")
public xyz.shodown.common.response.Result<?> logicalDeleteById(@RequestBody
SysPost sysPost)
@PostMapping(value="/logicalBatchDelById")
public xyz.shodown.common.response.Result<?> logicalBatchDeleteById(@RequestBody
List<SysPost> sysPostList)
@GetMapping(value="/getById") public xyz.shodown.common.response.Result<SysPost> getById(@RequestParam(value="id") Serializable id)
@PostMapping(value="/getAll") public xyz.shodown.common.response.Result<List<SysPost>> getAll(@RequestBody SysPost sysPost)
@PostMapping(value="/modifyState")
public xyz.shodown.common.response.Result<?> modifyState(@RequestBody
SysPost sysPost)
Copyright © 2022. All rights reserved.