京东商城订单序号
This commit is contained in:
@@ -1319,7 +1319,7 @@ func setJdsOrderSeq(order *model.GoodsOrder) (err error) {
|
|||||||
}
|
}
|
||||||
var counts []*tCount
|
var counts []*tCount
|
||||||
sql := `
|
sql := `
|
||||||
SELECT count(*) count FROM goods_order WHERE store_id = ? AND order_create_at >= ? AND order_create_at <= ? AND vendor_id = ?
|
SELECT count(*) count FROM goods_order WHERE store_id = ? AND order_created_at >= ? AND order_created_at <= ? AND vendor_id = ?
|
||||||
`
|
`
|
||||||
sqlParams := []interface{}{
|
sqlParams := []interface{}{
|
||||||
order.StoreID, utils.Time2Date(time.Now()), utils.Time2Date(time.Now().AddDate(0, 0, 1)), order.VendorID,
|
order.StoreID, utils.Time2Date(time.Now()), utils.Time2Date(time.Now().AddDate(0, 0, 1)), order.VendorID,
|
||||||
|
|||||||
Reference in New Issue
Block a user