You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
会遇到报错:cannot use lco.CourseDuration.Mul(60).Add(int32(signinTimeLimitH * 60)) (value of type field.Int32) as int32 value in argument to lco.ArrangingTime.Add
这样的问题要如何解决?最佳实践是什么
The text was updated successfully, but these errors were encountered:
您好!我使用 gorm 生成了对应表结构的代码,在使用where 条件进行查询时,如何正确使用 Add 等方法?
例如这样一段 sql
golang 代码:
会遇到报错:cannot use lco.CourseDuration.Mul(60).Add(int32(signinTimeLimitH * 60)) (value of type field.Int32) as int32 value in argument to lco.ArrangingTime.Add
这样的问题要如何解决?最佳实践是什么
The text was updated successfully, but these errors were encountered: