yangys
2024-05-08 dc40d10f7d8227d8b8216584ed19e4d41c57f0cd
smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/service/impl/InitServiceImpl.java
@@ -85,7 +85,7 @@
    @Override
    public Boolean checkIsNeedInit() {
        return Boolean.valueOf(this.initMapper.checkIsNeedInit(this.configVO.getDatabase(), this.configVO.getType()).intValue() <= 0);
        return this.initMapper.checkIsNeedInit(this.configVO.getDatabase(), this.configVO.getType()) <= 0;
    }
    @Override
@@ -164,7 +164,7 @@
    @Override
    public Boolean init(InitSettingVO initSettingVO) {
        if (!checkIsNeedInit().booleanValue()) {
        if (!checkIsNeedInit()) {
            throw new ServiceException(MessageUtils.message("system.has.been.initialized", new Object[0]));
        }
        RedisConnection redisConnection = this.bladeRedis.getRedisTemplate().getRequiredConnectionFactory().getConnection();