1、删除过期订单修改

2、增加触发时间
This commit is contained in:
2025-02-22 09:51:45 +08:00
parent ed4456cd06
commit 184e699195
6 changed files with 30 additions and 9 deletions

View File

@ -34,6 +34,7 @@ type LinePreOrder struct {
ExpireTime time.Time `json:"expireTime" gorm:"comment:过期时间"`
MainOrderType string `json:"mainOrderType" gorm:"type:enum;comment:第一笔(主单类型) 限价LIMIT市价(MARKET)"`
LossAmount decimal.Decimal `json:"lossAmount" gorm:"type:decimal(18,8);comment:亏损金额U"`
TriggerTime *time.Time `json:"triggerTime" gorm:"type:datetime;comment:触发时间"`
Child []LinePreOrder `json:"child" gorm:"-"`
ApiName string `json:"api_name" gorm:"->"`
ChildNum int64 `json:"child_num" gorm:"->"`