diff --git a/db/model/mall_ord_capital_pool_total.go b/db/model/mall_ord_capital_pool_total.go index d77b3f5..ccd3cc8 100644 --- a/db/model/mall_ord_capital_pool_total.go +++ b/db/model/mall_ord_capital_pool_total.go @@ -5,7 +5,7 @@ import ( ) type MallOrdCapitalPoolTotal struct { - Id int `json:"id" xorm:"not null pk INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` Uid int `json:"uid" xorm:"default 0 INT(11)"` Price string `json:"price" xorm:"default 0.0000 DECIMAL(20,4)"` LeavePrice string `json:"leave_price" xorm:"default 0.0000 DECIMAL(20,4)"`