Ver Fonte

no message

Jianghan há 1 ano atrás
pai
commit
c7fb42f639
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      CMPlatform/service/data_ent.go

+ 3 - 0
CMPlatform/service/data_ent.go

@@ -114,6 +114,9 @@ func ImportDataByExcel(mf multipart.File, eid int64, entid string) (int, int64,
 			log.Debug(fMap)
 			continue
 		}
+		if rn%2000 == 0 {
+			log.Debug("import current ---", rn)
+		}
 		ch <- true
 		wg.Add(1)
 		go func(cells []*xlsx.Cell) {