提交 2bca4107 authored 作者: 李炎's avatar 李炎

调整测试

上级 af97c3a8
...@@ -163,6 +163,7 @@ public class CommonHttpApi { ...@@ -163,6 +163,7 @@ public class CommonHttpApi {
public String sendThirdParty(String data, int index) { public String sendThirdParty(String data, int index) {
try { try {
System.out.println("data=====");
return HttpUtil.httpPost(this.receiveAddress, data).getBody(); return HttpUtil.httpPost(this.receiveAddress, data).getBody();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
...@@ -89,6 +89,7 @@ public class SynchronizationServiceImpl implements ISynchronizationService { ...@@ -89,6 +89,7 @@ public class SynchronizationServiceImpl implements ISynchronizationService {
Map<Integer, Order> map=new HashMap<>(); Map<Integer, Order> map=new HashMap<>();
int[] entryId = new int[recordsList.size()]; int[] entryId = new int[recordsList.size()];
System.out.println("recordsList===="+recordsList);
for (SynchronizationRecordsListOutVoRecords records : recordsList) { for (SynchronizationRecordsListOutVoRecords records : recordsList) {
if (!"LQKJ_IMSSync".equals(records.getForm())) { if (!"LQKJ_IMSSync".equals(records.getForm())) {
...@@ -109,6 +110,7 @@ public class SynchronizationServiceImpl implements ISynchronizationService { ...@@ -109,6 +110,7 @@ public class SynchronizationServiceImpl implements ISynchronizationService {
} }
} }
System.out.println("map===="+map);
for(Map.Entry<Integer, Order> maps:map.entrySet()){ for(Map.Entry<Integer, Order> maps:map.entrySet()){
mallSyncService.synchronization(maps.getValue().getSror().getId(),maps.getValue().getSror().getForm(),maps.getValue().getSror().getDataId(), maps.getValue().getEntryIds()); mallSyncService.synchronization(maps.getValue().getSror().getId(),maps.getValue().getSror().getForm(),maps.getValue().getSror().getDataId(), maps.getValue().getEntryIds());
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论