- UpdateStoresSkusSale
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
package legacymodel
|
||||
|
||||
import "git.rosy.net.cn/jx-callback/globals"
|
||||
|
||||
type Elemeorder2 struct {
|
||||
type Elemeorder struct {
|
||||
Id int `orm:"column(id);auto"`
|
||||
Orderid string `orm:"column(orderid);size(50);null;unique"`
|
||||
Data string `orm:"column(data);null"`
|
||||
@@ -12,6 +10,6 @@ type Elemeorder2 struct {
|
||||
OrderCreatedAt string `orm:"column(order_created_at);size(50);index"`
|
||||
}
|
||||
|
||||
func (t *Elemeorder2) TableName() string {
|
||||
return globals.ElemeorderTableName
|
||||
func (t *Elemeorder) TableName() string {
|
||||
return "elemeorder"
|
||||
}
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
package legacymodel
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
)
|
||||
|
||||
type Jdorder2 struct {
|
||||
type Jdorder struct {
|
||||
Id int `orm:"column(id);auto"`
|
||||
Code string `orm:"column(code);size(2);null"`
|
||||
Msg string `orm:"column(msg);size(100);null"`
|
||||
@@ -16,6 +12,6 @@ type Jdorder2 struct {
|
||||
Orderstatustime string `orm:"column(orderstatustime);size(50);null;index"`
|
||||
}
|
||||
|
||||
func (t *Jdorder2) TableName() string {
|
||||
return globals.JdorderTableName
|
||||
func (t *Jdorder) TableName() string {
|
||||
return "jdorder"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
package legacymodel
|
||||
|
||||
import "git.rosy.net.cn/jx-callback/globals"
|
||||
|
||||
type Jxorder2 struct {
|
||||
type Jxorder struct {
|
||||
Id int `orm:"column(id);auto"`
|
||||
VenderId int8 `orm:"column(vender_id);null"`
|
||||
OrderId int64 `orm:"column(order_id);null;unique"`
|
||||
@@ -56,6 +54,6 @@ type Jxorder2 struct {
|
||||
IsRecallDelivery int `orm:"column(is_recall_delivery);default(0);null"`
|
||||
}
|
||||
|
||||
func (t *Jxorder2) TableName() string {
|
||||
return globals.JxorderTableName
|
||||
func (t *Jxorder) TableName() string {
|
||||
return "jxorder"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
package legacymodel
|
||||
|
||||
import "git.rosy.net.cn/jx-callback/globals"
|
||||
|
||||
type Jxordersku2 struct {
|
||||
type Jxordersku struct {
|
||||
Id int `orm:"column(id);auto"`
|
||||
VenderId int8 `orm:"column(vender_id);null"`
|
||||
OrderId int64 `orm:"column(order_id);null"`
|
||||
@@ -18,6 +16,6 @@ type Jxordersku2 struct {
|
||||
SkuImg string `orm:"column(sku_img);size(120);null"`
|
||||
}
|
||||
|
||||
func (t *Jxordersku2) TableName() string {
|
||||
return globals.JxorderskuTableName
|
||||
func (t *Jxordersku) TableName() string {
|
||||
return "jxordersku"
|
||||
}
|
||||
|
||||
@@ -28,6 +28,8 @@ const (
|
||||
FieldJdID = "JdID"
|
||||
FieldElmID = "ElmID"
|
||||
FieldEbaiID = "EbaiID"
|
||||
|
||||
FieldSkuID = "SkuID"
|
||||
)
|
||||
|
||||
type ModelIDCUL struct {
|
||||
|
||||
Reference in New Issue
Block a user