master
周文涛 2 years ago
parent 50ea63f94b
commit 2ee3568acd

@ -1091,7 +1091,9 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
responseBody.put("allExecutionTime",executionTime); responseBody.put("allExecutionTime",executionTime);
//=========排序 //=========排序
ocrResultDTOList.sort((h1, h2) -> h1.getTag().compareTo(h2.getTag())); if (CollectionUtils.isNotEmpty(ocrResultDTOList)) {
ocrResultDTOList.sort((h1, h2) -> h1.getTag().compareTo(h2.getTag()));
}
//============ //============
responseBody.put("detailList", ocrResultDTOList); responseBody.put("detailList", ocrResultDTOList);
if (ocrResultDTOList.size()==0) { if (ocrResultDTOList.size()==0) {

Loading…
Cancel
Save