Browse Source

后:历史数据

dubch 5 years ago
parent
commit
502be0584c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/dashoo.cn/backend/api/business/tmpzcgf/tmpzcgfSession.go

+ 3 - 3
src/dashoo.cn/backend/api/business/tmpzcgf/tmpzcgfSession.go

@@ -275,10 +275,10 @@ func (s *TmpzcgtSession) InsertCertSub() error {
 			total, err = strconv.ParseInt(string(value), 10, 64)
 			break
 		}
-		n := math.Ceil(float64(total) / 200)
+		n := math.Ceil(float64(total) / 2000)
 		for i:=0; i <= int(n); i++ {
-			start := strconv.Itoa(i * 200)
-			end := strconv.Itoa(200)
+			start := strconv.Itoa(i * 2000)
+			end := strconv.Itoa(2000)
 			sql := "INSERT `OilSupplierCertSub` (" +
 				"OldId," +
 				"AppendStatus," +