|
@@ -49,12 +49,13 @@ public class ProjectTest1 {
|
|
|
}
|
|
|
|
|
|
List<Object> bizObjectArray = chuanyunFindAllResponse.getReturnData().getBizObjectArray();
|
|
|
- ObjectMapper objectMapper = new ObjectMapper();
|
|
|
- List<ChuanyunBuildProject> bpList = objectMapper.convertValue(bizObjectArray, new TypeReference<>() {
|
|
|
- });
|
|
|
+// ObjectMapper objectMapper = new ObjectMapper();
|
|
|
+// List<ChuanyunBuildProject> bpList = objectMapper.convertValue(bizObjectArray, new TypeReference<>() {
|
|
|
+// });
|
|
|
+
|
|
|
+ log.info("{bizObjectArray => {}}", bizObjectArray);
|
|
|
+// bpList.forEach(chuanyunBuildProject -> {
|
|
|
|
|
|
- bpList.forEach(chuanyunBuildProject -> {
|
|
|
- log.info("{chuanyunBuildProject => {}}", chuanyunBuildProject);
|
|
|
// try {
|
|
|
// Thread.sleep(200); //避免同步数据时因为氚云的限制而导致失败
|
|
|
//
|
|
@@ -67,7 +68,12 @@ public class ProjectTest1 {
|
|
|
// } catch (Exception e) {
|
|
|
// e.printStackTrace();
|
|
|
// }
|
|
|
- });
|
|
|
+// });
|
|
|
+ }
|
|
|
+
|
|
|
+ @Data
|
|
|
+ static class NeedSync { //售后项目资料(保留)的实体类
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@Data
|