This commit is contained in:
2026-08-17 02:39:40 +08:00
parent 6a05803e08
commit d09e6b42bd
16 changed files with 74 additions and 19 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ type departmentPO struct {
func (departmentPO) TableName() string { return "sys_departments" }
type userDepartmentPO struct {
// Match GVA's join model: no composite primary key, so repeated IDs in a
// Match the reference join model: no composite primary key, so repeated IDs in a
// request are persisted in the same order/shape as the reference service.
UserID uint `gorm:"column:sys_user_id"`
DepartmentID uint `gorm:"column:sys_department_id"`