Browse Source

按创建时间 降序

tags/24080901
PoffyZhang 1 year ago
parent
commit
72e54b2125
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java View File

@@ -80,7 +80,8 @@ public class GovProjectCollectionManage {

List<GovProjectDictionary> dictionaries = dictionaryService.list(Wrappers.lambdaQuery(GovProjectDictionary.class)
.eq(StringUtils.isNotBlank(type), GovProjectDictionary::getType, type)
.eq(GovProjectDictionary::getDeleted,Boolean.FALSE));
.eq(GovProjectDictionary::getDeleted,Boolean.FALSE)
.orderByDesc(GovProjectDictionary::getCreateOn));

if(CollUtil.isEmpty(dictionaries)){
return Collections.emptyList();


Loading…
Cancel
Save