类 DepartmentController
java.lang.Object
plus.hiver.module.system.controller.DepartmentController
@RestController
@RequestMapping("/hiver/department")
@CacheConfig(cacheNames="department")
@Transactional
public class DepartmentController
extends Object
部门管理接口
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明plus.hiver.common.api.Resultadd(plus.hiver.common.entity.Department department) plus.hiver.common.api.ResultvoiddeleteRecursion(Long id, Long[] ids) plus.hiver.common.api.Resultplus.hiver.common.api.Result<List<plus.hiver.common.entity.Department>>getByParentId(Long parentId, Boolean openDataFilter) plus.hiver.common.api.Result<List<plus.hiver.common.entity.Department>>searchByTitle(String title, Boolean openDataFilter) void
-
构造器详细资料
-
DepartmentController
public DepartmentController()
-
-
方法详细资料
-
getByParentId
-
add
@PostMapping("/add") public plus.hiver.common.api.Result add(@RequestBody plus.hiver.common.entity.Department department) -
edit
-
delByIds
-
deleteRecursion
-
searchByTitle
-
setInfo
-