|
|
@@ -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," +
|