| | |
| | | |
| | | import ( |
| | | "os" |
| | | models "srm/model/outsourcing" |
| | | "srm/model/purchase" |
| | | |
| | | "go.uber.org/zap" |
| | |
| | | test.SupplierType{}, |
| | | test.Supplier{}, |
| | | test.Contract{}, |
| | | test.Product{}, |
| | | test.Member{}, |
| | | test.SupplierMaterial{}, |
| | | purchase.Purchase{}, |
| | | purchase.PurchaseProducts{}, |
| | | purchase.PurchaseProductConfirm{}, |
| | | purchase.PurchaseQualityInspection{}, |
| | | models.OutsourcingEnterprise{}, |
| | | models.OutsourcingMaterialApply{}, |
| | | models.OutsourcingOrder{}, |
| | | models.OutsourcingOrderDelivery{}, |
| | | models.OutsourcingOrderDeliveryDetails{}, |
| | | models.OutsourcingOrderProduct{}, |
| | | ) |
| | | if err != nil { |
| | | global.GVA_LOG.Error("register table failed", zap.Error(err)) |