动火各个模块查询时按照创建时间降序排序
parent
6e4f31f205
commit
42dc26afd5
|
@ -332,7 +332,9 @@ public class HotworkCfdServiceImpl implements HotworkCfdService {
|
||||||
this.addInfo(dto);
|
this.addInfo(dto);
|
||||||
}
|
}
|
||||||
|
|
||||||
return list;
|
return list.stream()
|
||||||
|
.sorted((o1, o2) -> o2.getString("CREATTIME").compareTo(o1.getString("CREATTIME")))
|
||||||
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
public List<PageData> jhlist(Page page)throws Exception{
|
public List<PageData> jhlist(Page page)throws Exception{
|
||||||
return hotworkCfdMapper.jhdatalistPage(page);
|
return hotworkCfdMapper.jhdatalistPage(page);
|
||||||
|
|
Loading…
Reference in New Issue