|
@@ -60,6 +60,7 @@ import org.springframework.context.ApplicationEventPublisher;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.domain.PageImpl;
|
|
|
import org.springframework.data.domain.Pageable;
|
|
|
+import org.springframework.data.domain.Sort;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.web.context.request.RequestAttributes;
|
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
@@ -588,6 +589,7 @@ public class AuthApplyBusiness implements IAuthApplyBusiness {
|
|
|
@Override
|
|
|
public Page<RedListRiskLogVo> redListApplyLog(SearchDTO searchDTO) {
|
|
|
Searchable searchable = Searchable.toSearchable(searchDTO);
|
|
|
+ searchable.addSort(Sort.Direction.DESC, "logSendTime");
|
|
|
Page<RedListRiskLog> page = redListRiskLogService.pageSearch(searchable);
|
|
|
if (page.isEmpty()) {
|
|
|
return new PageImpl<>(new ArrayList<>(), searchable.getPage(),0L);
|