浏览代码

按创建时间 降序

master
PoffyZhang 1年前
父节点
当前提交
72e54b2125
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 查看文件

@@ -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();


正在加载...
取消
保存