|
@@ -24,6 +24,7 @@ func SyncEdbDataByPb(edbInfoId int64, edbCode, startDate, endDate string) (err e
|
|
|
fmt.Println("SyncEdbDataByPb Err:" + err.Error())
|
|
|
}
|
|
|
}()
|
|
|
+ addEdbCode:=edbCode
|
|
|
edbCode=url.QueryEscape(edbCode)
|
|
|
pbUrl := utils.Hz_Data_PB_Url + `edbInfo/pb?EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
pbUrl = fmt.Sprintf(pbUrl, edbCode, startDate, endDate)
|
|
@@ -66,7 +67,7 @@ func SyncEdbDataByPb(edbInfoId int64, edbCode, startDate, endDate string) (err e
|
|
|
}
|
|
|
} else {
|
|
|
item := new(data_manage.EdbDataPb)
|
|
|
- item.EdbCode = edbCode
|
|
|
+ item.EdbCode = addEdbCode
|
|
|
item.EdbInfoId = int(edbInfoId)
|
|
|
item.CreateTime = time.Now()
|
|
|
item.ModifyTime = time.Now()
|