Selaa lähdekoodia

修改隆重数据

rdluck 2 vuotta sitten
vanhempi
commit
3525fa71be
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 7 7
      services/data_source_longzhong.go

+ 7 - 7
services/data_source_longzhong.go

@@ -1093,13 +1093,13 @@ func GetLzSurveyProductData(cont context.Context) (err error) {
 	endDate := time.Now().AddDate(utils.DATA_END_DATE_LIMIT, 0, 0).UnixNano() / 1e6
 
 	for k, v := range priceInfoList {
-		existList, err := data_manage.GetLzSurveyDataExistByTradeCode(v.SurveyProductId)
-		existMap := make(map[string]*data_manage.LongzhongSurveyData)
-		for _, v := range existList {
-			key := strconv.Itoa(int(v.QuotaSampleId)) + v.DataTime
-			existMap[key] = v
-		}
-		fmt.Println(existMap)
+		//existList, err := data_manage.GetLzSurveyDataExistByTradeCode(v.SurveyProductId)
+		//existMap := make(map[string]*data_manage.LongzhongSurveyData)
+		//for _, v := range existList {
+		//	key := strconv.Itoa(int(v.QuotaSampleId)) + v.DataTime
+		//	existMap[key] = v
+		//}
+		//fmt.Println(existMap)
 		pageIndex := 1
 		//if v.EndDate != "" {
 		//	endDateTime, _ := time.Parse(utils.FormatDate, v.EndDate)