【7.6.0】【org】组织机构审批人的获取放到接口中

dev-7.6.0-hang
fengshuonan 2023-05-26 10:36:39 +08:00
parent e377ef5a90
commit 8bdb40568f
2 changed files with 43 additions and 28 deletions

View File

@ -0,0 +1,41 @@
package cn.stylefeng.roses.kernel.system.api;
import cn.stylefeng.roses.kernel.system.api.enums.DetectModeEnum;
import java.util.List;
/**
*
*
* @author fengshuonan
* @since 2023/5/26 10:35
*/
public interface OrgApproverServiceApi {
/**
*
*
* @param userId
* @param orgApproverType
* @param parentLevel 001
* @param detectModeEnum
* @return id
* @author fengshuonan
* @since 2022/9/18 14:52
*/
List<Long> getUserOrgApprover(Long userId, Integer orgApproverType, Integer parentLevel, DetectModeEnum detectModeEnum);
/**
*
*
* @param deptId id
* @param orgApproverType
* @param parentLevel 001
* @param detectModeEnum
* @return id
* @author fengshuonan
* @since 2022/9/18 14:52
*/
List<Long> getDeptOrgApprover(Long deptId, Integer orgApproverType, Integer parentLevel, DetectModeEnum detectModeEnum);
}

View File

@ -1,7 +1,7 @@
package cn.stylefeng.roses.kernel.system.modular.organization.service;
import cn.stylefeng.roses.kernel.rule.pojo.dict.SimpleDict;
import cn.stylefeng.roses.kernel.system.api.enums.DetectModeEnum;
import cn.stylefeng.roses.kernel.system.api.OrgApproverServiceApi;
import cn.stylefeng.roses.kernel.system.modular.organization.entity.HrOrgApprover;
import cn.stylefeng.roses.kernel.system.modular.organization.pojo.request.HrOrgApproverRequest;
import com.baomidou.mybatisplus.extension.service.IService;
@ -14,7 +14,7 @@ import java.util.List;
* @author fengshuonan
* @since 2022/09/13 23:15
*/
public interface HrOrgApproverService extends IService<HrOrgApprover> {
public interface HrOrgApproverService extends IService<HrOrgApprover>, OrgApproverServiceApi {
/**
*
@ -54,32 +54,6 @@ public interface HrOrgApproverService extends IService<HrOrgApprover> {
*/
List<HrOrgApprover> getBindingList(HrOrgApproverRequest hrOrgApproverRequest);
/**
*
*
* @param userId
* @param orgApproverType
* @param parentLevel 001
* @param detectModeEnum
* @return id
* @author fengshuonan
* @since 2022/9/18 14:52
*/
List<Long> getUserOrgApprover(Long userId, Integer orgApproverType, Integer parentLevel, DetectModeEnum detectModeEnum);
/**
*
*
* @param deptId id
* @param orgApproverType
* @param parentLevel 001
* @param detectModeEnum
* @return id
* @author fengshuonan
* @since 2022/9/18 14:52
*/
List<Long> getDeptOrgApprover(Long deptId, Integer orgApproverType, Integer parentLevel, DetectModeEnum detectModeEnum);
/**
*
*