cad拆单测试代码恢复

This commit is contained in:
gaoqr
2026-05-12 09:58:12 +08:00
parent 9f9941e71e
commit 7abe968210
@@ -129,10 +129,9 @@ public class WebCadOrderImportServiceImpl implements WebCadOrderImportService {
OrderDO orderDO = null;
JsonFactory factory = new JsonFactory();
Long cadViewFileId = null;
try (
// GZIPInputStream gzipInputStream = new GZIPInputStream(file.getInputStream());
JsonParser parser = factory.createParser(file.getInputStream())) {
Long cadViewFileId;
try (GZIPInputStream gzipInputStream = new GZIPInputStream(file.getInputStream());
JsonParser parser = factory.createParser(gzipInputStream)) {
factory.disable(JsonParser.Feature.AUTO_CLOSE_SOURCE);
int plateCount = 0;