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