Jianghan 1 жил өмнө
parent
commit
c7fb42f639

+ 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)
 			log.Debug(fMap)
 			continue
 			continue
 		}
 		}
+		if rn%2000 == 0 {
+			log.Debug("import current ---", rn)
+		}
 		ch <- true
 		ch <- true
 		wg.Add(1)
 		wg.Add(1)
 		go func(cells []*xlsx.Cell) {
 		go func(cells []*xlsx.Cell) {