Class SysDepartmentService
java.lang.Object
cn.herodotus.engine.data.core.service.BaseService<SysDepartment,String>
cn.herodotus.engine.supplier.upms.logic.service.hr.SysDepartmentService
- All Implemented Interfaces:
cn.herodotus.engine.data.core.service.ReadableService<SysDepartment,,String> cn.herodotus.engine.data.core.service.WriteableService<SysDepartment,String>
@Service
public class SysDepartmentService
extends cn.herodotus.engine.data.core.service.BaseService<SysDepartment,String>
Description: 部门管理服务
- Author:
- : gengwei.zheng
- Date:
- : 2020/1/20 11:50
-
Constructor Summary
ConstructorsConstructorDescriptionSysDepartmentService(SysDepartmentRepository sysDepartmentRepository, SysOwnershipService sysOwnershipService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteById(String departmentId) org.springframework.data.domain.Page<SysDepartment>findByCondition(int pageNumber, int pageSize, String organizationId) cn.herodotus.engine.data.core.repository.BaseRepository<SysDepartment,String> Methods inherited from class cn.herodotus.engine.data.core.service.BaseService
likeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.herodotus.engine.data.core.service.ReadableService
count, count, existsById, findAll, findAll, findAll, findAll, findById, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage, findByPageMethods inherited from interface cn.herodotus.engine.data.core.service.WriteableService
delete, deleteAll, deleteAll, deleteAllInBatch, flush, save, saveAll, saveAllAndFlush, saveAndFlush
-
Constructor Details
-
SysDepartmentService
public SysDepartmentService(SysDepartmentRepository sysDepartmentRepository, SysOwnershipService sysOwnershipService)
-
-
Method Details
-
getRepository
public cn.herodotus.engine.data.core.repository.BaseRepository<SysDepartment,String> getRepository() -
findByCondition
public org.springframework.data.domain.Page<SysDepartment> findByCondition(int pageNumber, int pageSize, String organizationId) -
findAll
-
deleteById
-