优化
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user