!284 添加SysConfigservice,SysDictTypeService的实现方法遗漏的@Override注解

Merge pull request !284 from Old丶x/master
master
若依 3 years ago committed by Gitee
commit 8e4802505e

@ -1,10 +1,5 @@
package com.ruoyi.system.service.impl; package com.ruoyi.system.service.impl;
import java.util.Collection;
import java.util.List;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.common.annotation.DataSource; import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.constant.Constants; import com.ruoyi.common.constant.Constants;
import com.ruoyi.common.constant.UserConstants; import com.ruoyi.common.constant.UserConstants;
@ -16,6 +11,12 @@ import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.domain.SysConfig; import com.ruoyi.system.domain.SysConfig;
import com.ruoyi.system.mapper.SysConfigMapper; import com.ruoyi.system.mapper.SysConfigMapper;
import com.ruoyi.system.service.ISysConfigService; import com.ruoyi.system.service.ISysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
import java.util.Collection;
import java.util.List;
/** /**
* *
@ -85,6 +86,7 @@ public class SysConfigServiceImpl implements ISysConfigService
* *
* @return truefalse * @return truefalse
*/ */
@Override
public boolean selectCaptchaOnOff() public boolean selectCaptchaOnOff()
{ {
String captchaOnOff = selectConfigByKey("sys.account.captchaOnOff"); String captchaOnOff = selectConfigByKey("sys.account.captchaOnOff");

@ -1,10 +1,5 @@
package com.ruoyi.system.service.impl; package com.ruoyi.system.service.impl;
import java.util.List;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.ruoyi.common.constant.UserConstants; import com.ruoyi.common.constant.UserConstants;
import com.ruoyi.common.core.domain.entity.SysDictData; import com.ruoyi.common.core.domain.entity.SysDictData;
import com.ruoyi.common.core.domain.entity.SysDictType; import com.ruoyi.common.core.domain.entity.SysDictType;
@ -14,6 +9,12 @@ import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.mapper.SysDictDataMapper; import com.ruoyi.system.mapper.SysDictDataMapper;
import com.ruoyi.system.mapper.SysDictTypeMapper; import com.ruoyi.system.mapper.SysDictTypeMapper;
import com.ruoyi.system.service.ISysDictTypeService; import com.ruoyi.system.service.ISysDictTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.PostConstruct;
import java.util.List;
/** /**
* *
@ -132,6 +133,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
/** /**
* *
*/ */
@Override
public void loadingDictCache() public void loadingDictCache()
{ {
List<SysDictType> dictTypeList = dictTypeMapper.selectDictTypeAll(); List<SysDictType> dictTypeList = dictTypeMapper.selectDictTypeAll();
@ -145,6 +147,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
/** /**
* *
*/ */
@Override
public void clearDictCache() public void clearDictCache()
{ {
DictUtils.clearDictCache(); DictUtils.clearDictCache();
@ -153,6 +156,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
/** /**
* *
*/ */
@Override
public void resetDictCache() public void resetDictCache()
{ {
clearDictCache(); clearDictCache();

Loading…
Cancel
Save