model/production_progress.go
@@ -133,17 +133,6 @@ return nil } // CreateBatch 批量插入 func (slf *ProductionProgressSearch) CreateBatch(records []*ProductionProgress) error { var db = slf.build() if err := db.Create(&records).Error; err != nil { return fmt.Errorf("create batch err: %v, records: %+v", err, records) } return nil } func (slf *ProductionProgressSearch) Save(record *ProductionProgress) error { var db = slf.build()