package com.qianwen.smartman.modules.cps.service; import com.baomidou.mybatisplus.core.metadata.IPage; import java.io.Serializable; import java.util.List; import com.qianwen.smartman.common.constant.ExtCacheConstant; import com.qianwen.core.mp.base.BaseService; import com.qianwen.core.oss.model.BladeFile; import com.qianwen.smartman.modules.cps.dto.EmployeeDTO; import com.qianwen.smartman.modules.cps.dto.EmployeeNameDTO; import com.qianwen.smartman.modules.cps.entity.Employee; import com.qianwen.smartman.modules.cps.excel.EmployeeImport; import com.qianwen.smartman.modules.cps.vo.EmployeeSelectVO; import com.qianwen.smartman.modules.cps.vo.EmployeeSubmitVO; import com.qianwen.smartman.modules.cps.vo.EmployeeUpdatePartVO; import com.qianwen.smartman.modules.cps.vo.EmployeeVO; import com.qianwen.smartman.modules.cps.vo.GroupTreeVO; import com.qianwen.smartman.modules.cps.vo.HierarchyVO; import com.qianwen.smartman.modules.notify.dto.NotifyUserDTO; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.Cacheable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/service/IEmployeeService.class */ public interface IEmployeeService extends BaseService { @CacheEvict(cacheNames = {ExtCacheConstant.EMPLOYEE}, allEntries = true) EmployeeVO submit(EmployeeSubmitVO employeeSubmitVO); IPage selectEmployeePage(IPage page, EmployeeSelectVO employeeSelectVO); @CacheEvict(cacheNames = {ExtCacheConstant.EMPLOYEE}, allEntries = true) BladeFile importEmployee(List data, String organizationCode); @CacheEvict(cacheNames = {ExtCacheConstant.EMPLOYEE}, allEntries = true) Boolean changeOrganization(List employeeIds, Long organizationId); @CacheEvict(cacheNames = {ExtCacheConstant.EMPLOYEE}, allEntries = true) Boolean changeUserId(Long employeeId, Long oldEmployeeId, Long userId); @CacheEvict(cacheNames = {ExtCacheConstant.EMPLOYEE}, allEntries = true) Boolean updateUserIdIsNull(List userIdList); Boolean checkUserIsBindEmployee(String userIds); List getUnbindEmployeeList(String employeeId); Employee getByUserId(Long userId); List getNotifySubscriberList(List userIds); @CacheEvict(cacheNames = {ExtCacheConstant.EMPLOYEE}, allEntries = true) Boolean removeEmployee(List ids, Integer type); List selectEmployeeList(EmployeeSelectVO employeeSelectVO); List listByOrgIds(List orgIds); List tree(); HierarchyVO getEmployeeHierarchy(Long employeeId); @CacheEvict(cacheNames = {ExtCacheConstant.EMPLOYEE}, allEntries = true) Boolean updatePart(EmployeeUpdatePartVO employeeUpdatePartVO); EmployeeNameDTO getEmployeeNameMap(); EmployeeVO currentEmployee(Long userId); @Cacheable(cacheNames = {ExtCacheConstant.EMPLOYEE}, key = "'id:'.concat(#id)") default Employee cachedById(Serializable id) { return (Employee) getById(id); } }