|
|
|
@ -270,7 +270,7 @@ public class OcrPictureController extends BaseController {
|
|
|
|
|
String ordertype = req.getParameter("ordertype");
|
|
|
|
|
queryWrapper.eq("suspiciousfile", "0");
|
|
|
|
|
if (StringUtils.isNotBlank(ordertype)) {
|
|
|
|
|
if (ordertype.equals("0")) {
|
|
|
|
|
if (ordertype.equals("asc")) {
|
|
|
|
|
queryWrapper.orderByAsc("similarity_score");
|
|
|
|
|
} else {
|
|
|
|
|
queryWrapper.orderByDesc("similarity_score");
|
|
|
|
@ -280,7 +280,7 @@ public class OcrPictureController extends BaseController {
|
|
|
|
|
//按时间排序
|
|
|
|
|
String orderByTime = req.getParameter("orderByTime");
|
|
|
|
|
if (StringUtils.isNotBlank(orderByTime)) {
|
|
|
|
|
if (orderByTime.equals("0")) {
|
|
|
|
|
if (orderByTime.equals("asc")) {
|
|
|
|
|
queryWrapper.orderByAsc("create_time");
|
|
|
|
|
} else {
|
|
|
|
|
queryWrapper.orderByDesc("create_time");
|
|
|
|
|