|
@@ -16,14 +16,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
-import org.w3c.dom.Document;
|
|
|
-import org.w3c.dom.Element;
|
|
|
|
|
|
-import javax.xml.parsers.DocumentBuilder;
|
|
|
-import javax.xml.parsers.DocumentBuilderFactory;
|
|
|
import java.io.File;
|
|
|
-import java.lang.reflect.Field;
|
|
|
-import java.nio.charset.StandardCharsets;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.UUID;
|
|
|
|
|
@@ -42,7 +36,7 @@ public class OsgbToB3dmConsumer {
|
|
|
UploadToOssUtil uploadToOssUtil;
|
|
|
|
|
|
//@Async
|
|
|
- public void consumerQueue(String uploadId) {
|
|
|
+ public void consumerQueue(Integer uploadId) {
|
|
|
String sourcePath = null;
|
|
|
String localPath = null;
|
|
|
try {
|