Method | Description | |
---|---|---|
Delete ( System.Guid id ) : void |
删除
|
|
DeleteBatch ( List |
根据Id集合批量删除
|
|
DepartmentAppService ( IDepartmentRepository repository ) : System | ||
Get ( System.Guid id ) : |
根据Id获取实体
|
|
GetAllList ( ) : List |
获取列表
|
|
GetChildrenByParent ( System.Guid parentId, int startPage, int pageSize, int &rowCount ) : List |
根据父级Id获取子级列表
|
|
InsertOrUpdate ( |
新增或修改
|
public DepartmentAppService ( IDepartmentRepository repository ) : System | ||
repository | IDepartmentRepository | |
return | System |
public Get ( System.Guid id ) : |
||
id | System.Guid | Id |
return |
public GetChildrenByParent ( System.Guid parentId, int startPage, int pageSize, int &rowCount ) : List |
||
parentId | System.Guid | 父级Id |
startPage | int | 起始页 |
pageSize | int | 页面大小 |
rowCount | int | 数据总数 |
return | List |
public InsertOrUpdate ( |
||
dto | 实体 | |
return | bool |