同步任务信息修改
This commit is contained in:
parent
e1a0e36cf9
commit
aa19973343
|
@ -26,12 +26,13 @@ func SyncTask(svc *svc.ServiceContext) {
|
|||
ParticipantId: participantId,
|
||||
}
|
||||
infoList, err := svc.PcmCoreRpc.InfoList(context.Background(), &infoReq)
|
||||
|
||||
if infoList != nil && len(infoList.CloudInfoList) != 0 {
|
||||
tool.Convert(&infoList.CloudInfoList, &oldCloudList)
|
||||
if err != nil {
|
||||
logx.Error(err)
|
||||
return
|
||||
}
|
||||
if len(infoList.CloudInfoList) != 0 {
|
||||
// 遍历执行任务操作
|
||||
for index, _ := range infoList.CloudInfoList {
|
||||
// 删除任务
|
||||
|
|
Loading…
Reference in New Issue