!52 【轻量级 PR】修正获取代理对象 bug

Merge pull request !52 from MichelleChung/dev
2.X
疯狂的狮子Li 2 years ago committed by Gitee
commit ca30eb740d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -28,7 +28,7 @@ public class RemoteDictServiceImpl implements RemoteDictService {
@Override
public String getDictLabel(String dictType, String dictValue, String separator) {
StringBuilder propertyString = new StringBuilder();
List<SysDictData> datas = SpringUtils.getAopProxy(sysDictTypeService).selectDictDataByType(dictType);
List<SysDictData> datas = sysDictTypeService.selectDictDataByType(dictType);
if (StringUtils.containsAny(dictValue, separator) && CollUtil.isNotEmpty(datas)) {
for (SysDictData dict : datas) {
@ -52,7 +52,7 @@ public class RemoteDictServiceImpl implements RemoteDictService {
@Override
public String getDictValue(String dictType, String dictLabel, String separator) {
StringBuilder propertyString = new StringBuilder();
List<SysDictData> datas = SpringUtils.getAopProxy(sysDictTypeService).selectDictDataByType(dictType);
List<SysDictData> datas = sysDictTypeService.selectDictDataByType(dictType);
if (StringUtils.containsAny(dictLabel, separator) && CollUtil.isNotEmpty(datas)) {
for (SysDictData dict : datas) {

Loading…
Cancel
Save