|
|
@ -273,7 +273,7 @@ public class OcrPictureController extends BaseController {
|
|
|
|
|
|
|
|
|
|
|
|
String search_month = req.getParameter("search_month");
|
|
|
|
String search_month = req.getParameter("search_month");
|
|
|
|
String ordertype = req.getParameter("ordertype");
|
|
|
|
String ordertype = req.getParameter("ordertype");
|
|
|
|
queryWrapper.eq("suspiciousfile", "0");
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(ordertype)) {
|
|
|
|
if (StringUtils.isNotBlank(ordertype)) {
|
|
|
|
if (ordertype.equals("asc")) {
|
|
|
|
if (ordertype.equals("asc")) {
|
|
|
|
queryWrapper.orderByAsc("similarity_score");
|
|
|
|
queryWrapper.orderByAsc("similarity_score");
|
|
|
@ -328,7 +328,9 @@ public class OcrPictureController extends BaseController {
|
|
|
|
queryWrapper = SearchParaFormatting.searchParaParse(queryWrapper, paraMap);
|
|
|
|
queryWrapper = SearchParaFormatting.searchParaParse(queryWrapper, paraMap);
|
|
|
|
|
|
|
|
|
|
|
|
queryWrapper.eq("tenant_id", tenantId);
|
|
|
|
queryWrapper.eq("tenant_id", tenantId);
|
|
|
|
|
|
|
|
queryWrapper.eq("suspiciousfile", "0");
|
|
|
|
queryWrapper.isNotNull("local_pictrue_url");
|
|
|
|
queryWrapper.isNotNull("local_pictrue_url");
|
|
|
|
|
|
|
|
|
|
|
|
Page<OcrPicture> page = new Page<OcrPicture>(pageNo, pageSize);
|
|
|
|
Page<OcrPicture> page = new Page<OcrPicture>(pageNo, pageSize);
|
|
|
|
IPage<OcrPicture> pageList = ocrPictureService.page(page, queryWrapper);
|
|
|
|
IPage<OcrPicture> pageList = ocrPictureService.page(page, queryWrapper);
|
|
|
|
List<OcrPicture> ocrPictures = pageList.getRecords();
|
|
|
|
List<OcrPicture> ocrPictures = pageList.getRecords();
|
|
|
|