优化
This commit is contained in:
@@ -26,7 +26,7 @@ type departmentPO struct {
|
||||
Ancestors string
|
||||
Sort int
|
||||
LeaderID uint
|
||||
Status bool `gorm:"default:true"`
|
||||
Status *bool `gorm:"default:true"`
|
||||
}
|
||||
|
||||
func (departmentPO) TableName() string { return "sys_departments" }
|
||||
|
||||
Reference in New Issue
Block a user