|
|
@ -276,6 +276,17 @@ public class OcrPictureController extends BaseController {
|
|
|
|
queryWrapper.orderByDesc("similarity_score");
|
|
|
|
queryWrapper.orderByDesc("similarity_score");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//按时间排序
|
|
|
|
|
|
|
|
String orderByTime = req.getParameter("orderByTime");
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(orderByTime)) {
|
|
|
|
|
|
|
|
if (orderByTime.equals("0")) {
|
|
|
|
|
|
|
|
queryWrapper.orderByAsc("create_time");
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
queryWrapper.orderByDesc("create_time");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(search_month) && Integer.parseInt(search_month) <= 12 && Integer.parseInt(search_month) > 0) {
|
|
|
|
if (StringUtils.isNotBlank(search_month) && Integer.parseInt(search_month) <= 12 && Integer.parseInt(search_month) > 0) {
|
|
|
|
queryWrapper.ge("create_time", DataUtil.afterDateByMonth(Integer.parseInt(search_month)));
|
|
|
|
queryWrapper.ge("create_time", DataUtil.afterDateByMonth(Integer.parseInt(search_month)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|