|
|
@ -9,8 +9,11 @@ import cn.estsh.i3plus.platform.common.util.CommonConstWords;
|
|
|
|
import cn.estsh.i3plus.platform.common.util.PlatformConstWords;
|
|
|
|
import cn.estsh.i3plus.platform.common.util.PlatformConstWords;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.ImppEnumUtil;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.ImppEnumUtil;
|
|
|
|
import cn.estsh.i3plus.pojo.base.util.StringUtil;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.bean.SysConfig;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.bean.*;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.bean.SysDictionary;
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.platform.bean.SysLocaleLanguage;
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.platform.bean.SysLocaleResource;
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.platform.bean.SysMenu;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.repository.SysConfigRepository;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.repository.SysConfigRepository;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.repository.SysDictionaryRepository;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.repository.SysDictionaryRepository;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.repository.SysLocaleLanguageRepository;
|
|
|
|
import cn.estsh.i3plus.pojo.platform.repository.SysLocaleLanguageRepository;
|
|
|
@ -22,9 +25,11 @@ import org.slf4j.Logger;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import java.util.*;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -69,7 +74,6 @@ public class SystemInitService implements ISystemInitService {
|
|
|
|
putAndLoadSysConfig();
|
|
|
|
putAndLoadSysConfig();
|
|
|
|
putAndLoadSysDictionary();
|
|
|
|
putAndLoadSysDictionary();
|
|
|
|
putAndLoadSysLocaleLanguage();
|
|
|
|
putAndLoadSysLocaleLanguage();
|
|
|
|
putAndLoadSysMenu();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -166,6 +170,9 @@ public class SystemInitService implements ISystemInitService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//加载语言数据
|
|
|
|
|
|
|
|
putAndLoadSysMenu();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "加载语言数据",notes = "加载语言数据")
|
|
|
|
@ApiOperation(value = "加载语言数据",notes = "加载语言数据")
|
|
|
@ -220,8 +227,6 @@ public class SystemInitService implements ISystemInitService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 缓存存放数据统一管理
|
|
|
|
* 缓存存放数据统一管理
|
|
|
|
* @param key
|
|
|
|
* @param key
|
|
|
|