This commit is contained in:
duyu 2024-07-18 16:12:57 +08:00
parent 964b9a42a9
commit 408302894a
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func (m *ordersModel) Search(
args = append(args, merchant_id)
}
if product_id != 0 {
sql += " and merchant_id = ?"
sql += " and product_id = ?"
args = append(args, product_id)
}
if out_trade_no != "" {