This commit is contained in:
邹宗楠
2022-12-07 17:33:29 +08:00
parent 40c7ca6dca
commit be333c9feb
3 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ func QueryPrintBill(db *sqlx.Tx, userId, printNo string) ([]*app_model.PrintBill
// QueryPrintBillList 查询打印机余额
func QueryPrintBillList(userId string, printNo []string) ([]*app_model.PrintBill, error) {
db := globals.GetTxDb()
db := globals.GetDB()
sql := `SELECT * FROM print_bill WHERE 1 = 1 `
var param []interface{}
if userId != "" {