|
|
|
@ -2,7 +2,6 @@ package me.zhengjie.modules.uploadnew.task;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import me.zhengjie.modules.formdata.service.dto.FormdataDto;
|
|
|
|
|
import me.zhengjie.modules.uploadnew.httpRequest.HttpClient;
|
|
|
|
|
import me.zhengjie.modules.uploadnew.service.dto.OosDTO;
|
|
|
|
|
import me.zhengjie.utils.ConvertUtil;
|
|
|
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.time.ZoneOffset;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Component
|
|
|
|
|
@Scope("prototype")
|
|
|
|
@ -30,7 +28,7 @@ public class TransFormDataTask {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void runTask(OosDTO oosDTO) {
|
|
|
|
|
// String jsonStr = JSONUtil.toJsonStr(oosDTO);
|
|
|
|
|
// HttpClient.doPost(jsonStr, "utf-8");
|
|
|
|
|
String jsonStr = JSONUtil.toJsonStr(oosDTO);
|
|
|
|
|
HttpClient.doPost(jsonStr, "utf-8");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|