Merge branch 'master' into docker_package
This commit is contained in:
commit
e93234e7ec
|
@ -510,7 +510,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
if (pinTop > 0) {
|
||||
return index.getPinTopTime() == null ? new Date(0).getTime() + (index.getTotal() == null ? 0L : index.getTotal()) : index.getPinTopTime().getTime() + +(index.getTotal() == null ? 0L : index.getTotal());
|
||||
} else {
|
||||
return new Date(0).getTime() + index.getTotal();
|
||||
return new Date(0).getTime() + (index.getTotal() == null ? 0L : index.getTotal());
|
||||
}
|
||||
}).reversed()
|
||||
).collect(Collectors.toList()));
|
||||
|
@ -521,7 +521,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
if (pinTop > 0) {
|
||||
return index.getPinTopTime() == null ? new Date(0).getTime() + (index.getTotal() == null ? 0L : index.getTotal()) : index.getPinTopTime().getTime() + (index.getTotal() == null ? 0L : index.getTotal());
|
||||
} else {
|
||||
return new Date(0).getTime() + index.getTotal();
|
||||
return new Date(0).getTime() + (index.getTotal() == null ? 0L : index.getTotal());
|
||||
}
|
||||
})
|
||||
).collect(Collectors.toList()));
|
||||
|
|
Loading…
Reference in New Issue