From cbaa2409c690bf764fff7056ea35b95706f0acde Mon Sep 17 00:00:00 2001 From: zhouqunjie Date: Mon, 12 Jun 2023 19:48:33 +0800 Subject: [PATCH] start&end time for list history job --- .../PCM-HPC/PCM-AC/rpc/internal/logic/listhistoryjoblogic.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adaptor/PCM-HPC/PCM-AC/rpc/internal/logic/listhistoryjoblogic.go b/adaptor/PCM-HPC/PCM-AC/rpc/internal/logic/listhistoryjoblogic.go index effd8f6..7f04848 100644 --- a/adaptor/PCM-HPC/PCM-AC/rpc/internal/logic/listhistoryjoblogic.go +++ b/adaptor/PCM-HPC/PCM-AC/rpc/internal/logic/listhistoryjoblogic.go @@ -46,6 +46,8 @@ func (l *ListHistoryJobLogic) ListHistoryJob(in *hpcAC.ListHistoryJobReq) (*hpcA params := url.Values{} params.Add("strClusterIDList", strconv.FormatInt(clusterId, 10)) + params.Add("startTime", in.StartTime) + params.Add("endTime", in.EndTime) reqUrl, err := http.NewRequest("GET", "https://api01.hpccube.com:65106/"+historyJobUrl+params.Encode(), nil)