Browse Source

test

tags/v4.3.1
huangjiajun 1 year ago
parent
commit
3de4d214d7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/self_buy_global.go

+ 1
- 1
rule/self_buy_global.go View File

@@ -31,7 +31,7 @@ func AddOrder(eg *xorm.Engine, req map[string]string) {
max.LeavePrice = zhios_order_relate_utils.Float64ToStrByPrec(zhios_order_relate_utils.StrToFloat64(max.LeavePrice)+zhios_order_relate_utils.StrToFloat64(req["price"]), 3)
max.OtherPrice = zhios_order_relate_utils.Float64ToStrByPrec(zhios_order_relate_utils.StrToFloat64(max.OtherPrice)+zhios_order_relate_utils.StrToFloat64(req["price"]), 3)
max.UpdateTime = time.Now()
eg.Where("id=?", max.Id, max)
eg.Where("id=?", max.Id).Update(max)
}
}
}


Loading…
Cancel
Save