- fixed a bug in defsch.init, replace LoadOrder with GetOrder.
- dynamic table name for legacy order related table.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package legacyorder
|
||||
|
||||
import "git.rosy.net.cn/jx-callback/globals"
|
||||
|
||||
type Jxordersku2 struct {
|
||||
Id int `orm:"column(id);auto"`
|
||||
VenderId int8 `orm:"column(vender_id);null"`
|
||||
@@ -17,5 +19,5 @@ type Jxordersku2 struct {
|
||||
}
|
||||
|
||||
func (t *Jxordersku2) TableName() string {
|
||||
return "jxordersku2"
|
||||
return globals.JxorderskuTableName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user