This commit is contained in:
邹宗楠
2024-11-15 15:29:00 +08:00
parent de879b9392
commit e911832515
2 changed files with 66 additions and 7 deletions

View File

@@ -1441,7 +1441,8 @@ func GetJxOrderCount(db *DaoDB, storeID int, orderID string, date time.Time) (co
// GetVendorOrderNumber 查询当前平台当然订单数抖音没有订单seq
func GetVendorOrderNumber(db *DaoDB, vendorId int64, vendorStoreId string) (count int, err error) {
date := time.Now()
nowTime := time.Now()
date := time.Date(nowTime.Year(), nowTime.Month(), nowTime.Day(), 0, 0, 0, 0, time.Local)
sql := `
SELECT COUNT(*) ct
FROM goods_order t1