package com.engine.organization.util; import com.engine.organization.mapper.common.RefreshUseMapper; import com.engine.organization.mapper.scheme.GradeMapper; import com.engine.organization.mapper.scheme.LevelMapper; import com.engine.organization.mapper.scheme.SchemeMapper; import com.engine.organization.mapper.sequence.SequenceMapper; import com.engine.organization.mapper.staff.StaffMapper; import com.engine.organization.mapper.staff.StaffPlanMapper; import com.engine.organization.util.db.MapperProxyFactory; import org.apache.commons.collections4.CollectionUtils; import java.util.Arrays; import java.util.List; import java.util.Objects; import java.util.stream.Collectors; /** * @description: * @author:dxfeng * @createTime: 2022/06/01 * @version: 1.0 */ public class RefreshIsUsedUtil { private static RefreshUseMapper getRefreshUseMapper() { return MapperProxyFactory.getProxy(RefreshUseMapper.class); } /** * 刷新等级方案表 引用状态 *
* JCL_ORG_LEVEL,JCL_ORG_GRADE,JCL_ORG_SEQUENCE,JCL_ORG_JOB
*/
public static void RefreshScheme(String tableName) {
List
* JCL_ORG_GRADE,JCL_ORG_JOBDT
*/
public static void RefreshLevel(String tableName) {
List
* JCL_ORG_JOBDT
*/
public static void RefreshGrade(String tableName) {
List
* JCL_ORG_JOB
*/
public static void RefreshSequence(String tableName) {
List
* JCL_ORG_JOB
*/
public static void RefreshStaffPlan(String tableName) {
List
* JCL_ORG_JOB
*/
public static void RefreshStaff(String tableName) {
List