This commit is contained in:
邹宗楠
2024-01-17 15:56:36 +08:00
parent 774e7c2579
commit 3f5ad2d1ff

View File

@@ -8,7 +8,7 @@ import (
// QueryOrderDeductionRecord 查询订单扣除记录
func QueryOrderDeductionRecord(db *DaoDB, printNo string, orderNo string) (bool, error) {
sql := `SELECT * FROM print_bill_record WHERE print_no = ? AND order_no = ? AND created_at > ? AND created_at < ?`
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()