pcmcore修改天河字段
Former-commit-id: 48095a570ae9fde00ba96c2e0783363430e03b53
This commit is contained in:
parent
09dd42f873
commit
8056d81a89
|
@ -45,8 +45,8 @@ func (l *SyncInfoLogic) SyncInfo(in *pcmCore.SyncInfoReq) (*pcmCore.SyncInfoResp
|
||||||
}
|
}
|
||||||
case "hpc":
|
case "hpc":
|
||||||
for _, hpcInfo := range in.HpcInfoList {
|
for _, hpcInfo := range in.HpcInfoList {
|
||||||
db.Exec("update hpc set status = ?,start_time = ?,running_time = ?,job_id = ? where service_name = ? and task_id = ? and name = ?",
|
db.Exec("update hpc set status = ?,derived_es = ?,assoc_id = ?,exit_code = ?,version = ?,alloc_cpu = ?,alloc_nodes = ?,cluster = ?,clock_id = ?,start_time = ?,running_time = ?,job_id = ? where service_name = ? and task_id = ? and name = ?",
|
||||||
hpcInfo.Status, hpcInfo.StartTime, hpcInfo.RunningTime, hpcInfo.JobId, in.ServiceName, hpcInfo.TaskId, hpcInfo.Name)
|
hpcInfo.Status, hpcInfo.DerivedEs, hpcInfo.AssocId, hpcInfo.ExitCode, hpcInfo.Version, hpcInfo.AllocCpu, hpcInfo.AllocNodes, hpcInfo.Cluster, hpcInfo.BlockId, hpcInfo.StartTime, hpcInfo.RunningTime, hpcInfo.JobId, in.ServiceName, hpcInfo.TaskId, hpcInfo.Name)
|
||||||
}
|
}
|
||||||
case "ai":
|
case "ai":
|
||||||
for _, aiInfo := range in.AiInfoList {
|
for _, aiInfo := range in.AiInfoList {
|
||||||
|
|
Loading…
Reference in New Issue