fix
This commit is contained in:
@@ -30,6 +30,7 @@ type FsFeishuUser struct {
|
||||
EmployeeNo *string `gorm:"default:'';" json:"employee_no"` //
|
||||
EmployeeType *int64 `gorm:"default:0;" json:"employee_type"` // 0:未设置 1:正式员工 2:实习生 3:外包 4:劳务 5:顾问
|
||||
Orders *[]byte `gorm:"default:'';" json:"orders"` //
|
||||
JoinTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"join_time"` //
|
||||
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
||||
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
||||
}
|
||||
|
||||
@@ -26,5 +26,6 @@ func (u *FsFeishuUserModel) CreateOrUpdate(ctx context.Context, appId, openId st
|
||||
}
|
||||
return err
|
||||
}
|
||||
data.Ctime = nil
|
||||
return u.Update(ctx, data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user