fix
zhangqian
2024-07-04 286adacbe154f984b500cd7df16e332e255f2010
models/db.go
@@ -116,7 +116,15 @@
      ReorderRule{},
      Attachment{},
      LogisticCompany{},
      FileTemplateAttachment{},
      MoveHistory{},
      Lock{},
      MonthStats{},
      Attribute{},
      AttributeValue{},
      SystemConfig{},
      WarehouseMonthStats{},
      WarehouseStatsItems{},
   )
   return err
}
@@ -127,7 +135,6 @@
func InsertDefaultData() {
   models := []interface{}{
      NewDepartmentSearch(),
      NewLocationSearch(),
   }
   for _, model := range models {