- fixed a bug in defsch.init, replace LoadOrder with GetOrder.

- dynamic table name for legacy order related table.
This commit is contained in:
gazebo
2018-07-23 17:30:22 +08:00
parent 96d8e7b2fa
commit 479ce46200
18 changed files with 253 additions and 80 deletions

View File

@@ -1,5 +1,9 @@
package legacyorder
import (
"git.rosy.net.cn/jx-callback/globals"
)
type Jdorder2 struct {
Id int `orm:"column(id);auto"`
Code string `orm:"column(code);size(2);null"`
@@ -13,5 +17,5 @@ type Jdorder2 struct {
}
func (t *Jdorder2) TableName() string {
return "jdorder2"
return globals.JdorderTableName
}