RED-10260: add quote char to component mapping
This commit is contained in:
parent
0ad3973d23
commit
d26d24271a
@ -447,7 +447,8 @@ public class DossierTemplateImportService {
|
||||
componentMapping.metadata().getFileName(),
|
||||
componentMapping.metadata().getDelimiter(),
|
||||
componentMapping.metadata().getEncoding(),
|
||||
tmpFile, quoteChar);
|
||||
tmpFile,
|
||||
componentMapping.metadata().getQuoteChar());
|
||||
|
||||
componentMappingService.setVersion(createdMapping.getId(), componentMapping.metadata().getVersion());
|
||||
assert tmpFile.delete();
|
||||
@ -522,6 +523,7 @@ public class DossierTemplateImportService {
|
||||
|
||||
}
|
||||
|
||||
|
||||
private LayoutParsingType deferFromApplicationType() {
|
||||
|
||||
return Objects.equals(applicationType, "DocuMine") ? LayoutParsingType.DOCUMINE_OLD : LayoutParsingType.REDACT_MANAGER_WITHOUT_DUPLICATE_PARAGRAPH;
|
||||
|
||||
@ -216,7 +216,8 @@ public class DossierTemplateCloneService {
|
||||
componentMapping.metaData().getFileName(),
|
||||
componentMapping.metaData().getDelimiter(),
|
||||
componentMapping.metaData().getEncoding(),
|
||||
componentMapping.file(), quoteChar);
|
||||
componentMapping.file(),
|
||||
componentMapping.metaData().getQuoteChar());
|
||||
}
|
||||
FileSystemUtils.deleteRecursively(dir);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user