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
严格来说,是model生成模块这里,有问题,原本插件自动生成的代码是usermodel_gen.go下面FindOneByNumber方法的这一行是query := fmt.Sprintf("select %s from %s where number = ? limit 1", userRows, m.table),但是少加了一个number。query := fmt.Sprintf("select %s from %s where number = ? limit 1", userRows, m.table,number)
The text was updated successfully, but these errors were encountered:
严格来说,是model生成模块这里,有问题,原本插件自动生成的代码是usermodel_gen.go下面FindOneByNumber方法的这一行是query := fmt.Sprintf("select %s from %s where
number
= ? limit 1", userRows, m.table),但是少加了一个number。query := fmt.Sprintf("select %s from %s wherenumber
= ? limit 1", userRows, m.table,number)The text was updated successfully, but these errors were encountered: