Commit edee30e9 by shentao

Merge branch 'feature' into 'dev'

2024/07/09 方案选择ocr编辑后未生效问题修复

See merge request !554
parents d491186e c8b64f6d
...@@ -2080,8 +2080,9 @@ public class MarkDataServiceImpl implements MarkDataService { ...@@ -2080,8 +2080,9 @@ public class MarkDataServiceImpl implements MarkDataService {
} }
// 选了ocr+其他 // 选了ocr+其他
if (dto.getType().contains("OCR") && dto.getType().size() != 1){ if (dto.getType().contains("OCR") && dto.getType().size() != 1){
dto.getType().remove("OCR"); List<String> type = new ArrayList<>(dto.getType());
param.put("filterWtype", String.join(",", dto.getType())); type.remove("OCR");
param.put("filterWtype", String.join(",", type));
param.put("ocrType", 3); param.put("ocrType", 3);
} }
param.put("taskName", dto.getName() + "_" + System.currentTimeMillis()); param.put("taskName", dto.getName() + "_" + System.currentTimeMillis());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment