用户权限同步调整,北交大登录按照通用方式

This commit is contained in:
tiger_zhou 2022-11-07 17:11:50 +08:00
parent f132220891
commit 380bc6df65
2 changed files with 8 additions and 3 deletions

View File

@ -280,11 +280,11 @@ public class AuthenticateService implements IAuthenticateService {
this.handleProjectDeviceLogin(loginUserInfo); this.handleProjectDeviceLogin(loginUserInfo);
} }
// TODO 20220922 修改 // TODO 20220922 修改
if (loginUserInfo.getProjectInfo().isLoginWithCreateSimulation()) { // 行调竞赛实训系统登录 /* if (loginUserInfo.getProjectInfo().isLoginWithCreateSimulation()) { // 行调竞赛实训系统登录
String group = this.projectSimulationService.createCenterSimulation(loginUserInfo, String group = this.projectSimulationService.createCenterSimulation(loginUserInfo,
loginUserInfo.getProjectInfo()); loginUserInfo.getProjectInfo());
loginUserInfo.setGroup(group); loginUserInfo.setGroup(group);
} }*/
} }
// 保存登陆信息 // 保存登陆信息
SysAccountLogin userLogin = loginUserInfo.convert2DB(); SysAccountLogin userLogin = loginUserInfo.convert2DB();

View File

@ -74,9 +74,14 @@ public class OldPermissionDataSyncService {
static final List<ErrorMsgVO> SYNC_RESULT_LIST = Lists.newArrayList(); static final List<ErrorMsgVO> SYNC_RESULT_LIST = Lists.newArrayList();
static{ static{
MAPID_TYPE_MAP.put(154L,GgenerateType.RAILWAY); //大铁标准站
MAPID_TYPE_MAP.put(81L,GgenerateType.DAKE_STREAM); //北交大客流 MAPID_TYPE_MAP.put(81L,GgenerateType.DAKE_STREAM); //北交大客流
MAPID_TYPE_MAP.put(161L,GgenerateType.EMERGENCY); //武汉8号线应急调度 MAPID_TYPE_MAP.put(161L,GgenerateType.EMERGENCY); //武汉8号线应急调度
MAPID_TYPE_MAP.put(127L,GgenerateType.RAILWAY); //大铁线路
MAPID_TYPE_MAP.put(133L,GgenerateType.RAILWAY); //大铁列车驾驶
MAPID_TYPE_MAP.put(154L,GgenerateType.RAILWAY); //大铁标准站
MAPID_TYPE_MAP.put(156L,GgenerateType.RAILWAY); //大铁标准站众合
MAPID_TYPE_MAP.put(157L,GgenerateType.RAILWAY); //大铁标准站成工业
MAPID_TYPE_MAP.put(213L,GgenerateType.RAILWAY); //大铁标准站京津冀
} }
private void truncateAllTable(){ private void truncateAllTable(){