Add employee code assignment function

This commit is contained in:
2026-03-02 09:38:03 +08:00
parent 58b1ac1126
commit c29cbdf847
9 changed files with 962 additions and 9 deletions

View File

@@ -112,6 +112,7 @@ func AutoMigrate() {
&models.User{},
&models.Company{},
&models.Serial{},
&models.EmployeeSerial{},
); err != nil {
logger.Fatal("数据库迁移失败", logger.Err(err))
}