|
|
|
@ -91,7 +91,9 @@ public class PcmachineServiceImpl implements IPcmachineService {
|
|
|
|
|
Integer task_count = JSON.parseObject(String.valueOf(jsonMap.get(Codes.JSON_TASK_COUNT.getMessage())), Integer.class);
|
|
|
|
|
|
|
|
|
|
List<CollectList> collectLists = JSON.parseArray(String.valueOf(jsonMap.get(Codes.JSON_COLLECTLIST_ROOT.getMessage())), CollectList.class);
|
|
|
|
|
|
|
|
|
|
if(collectLists==null||collectLists.size()==0){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
//添加省中医病案采集
|
|
|
|
|
SnowflakeIdWorker idWorker = new SnowflakeIdWorker(0, 0);
|
|
|
|
|
AfInterfaceCollect afc = new AfInterfaceCollect();
|
|
|
|
@ -106,6 +108,7 @@ public class PcmachineServiceImpl implements IPcmachineService {
|
|
|
|
|
}
|
|
|
|
|
//添加省中医病案采集-子任务
|
|
|
|
|
List<AfInterfaceCollectSub> list = new ArrayList<>();
|
|
|
|
|
|
|
|
|
|
for (CollectList collectList : collectLists) {
|
|
|
|
|
AfInterfaceCollectSub afInterfaceCollectSub = new AfInterfaceCollectSub();
|
|
|
|
|
Long afcsId = idWorker.nextId();
|
|
|
|
|