1
This commit is contained in:
@@ -2,7 +2,6 @@ package dao
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -10,7 +9,6 @@ import (
|
||||
func QueryOrderDeductionRecord(db *DaoDB, printNo string, orderNo string) (bool, error) {
|
||||
sql := `SELECT * FROM print_bill_record WHERE print_no = ? AND order_id = ? AND created_at > ? AND created_at < ?`
|
||||
|
||||
globals.SugarLogger.Debugf("QueryOrderDeductionRecord============ : %s , %s", printNo, orderNo)
|
||||
timeNow := time.Now()
|
||||
startTime := time.Date(timeNow.Year(), timeNow.Month(), timeNow.Day(), 0, 0, 0, 0, timeNow.Location())
|
||||
endTime := time.Date(timeNow.Year(), timeNow.Month(), timeNow.Day(), 23, 59, 59, 0, timeNow.Location())
|
||||
|
||||
Reference in New Issue
Block a user