Bladeren bron

获取最新的字典项

chenyongxing 6 jaren geleden
bovenliggende
commit
1e6bf4aa5e
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/main/java/com/yihu/hos/standard/controller/StdCenterEndPoint.java

+ 1 - 1
src/main/java/com/yihu/hos/standard/controller/StdCenterEndPoint.java

@ -151,7 +151,7 @@ public class StdCenterEndPoint extends BaseController {
            List<StdDictionaryModel> list = stdDictService.searchPage(StdDictionaryModel.class, StandardVersion.DictTable,ver, "code="+code, null, null, null,true);
            if(CollectionUtils.isNotEmpty(list)){
                Long id = list.get(0).getId();
                result = stdDictEntryService.searchPage(StdDictionaryEntryModel.class, StandardVersion.DictEntryTable,ver, "dict_id="+id, null, null, null,true);
                result = stdDictEntryService.searchPage(StdDictionaryEntryModel.class, StandardVersion.DictEntryTable,ver, "dictId="+id, null, null, null,true);
            }
        }
        return result;