From 4a0d0ee3dfec8a33da278b7cb9963af3b5087a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 24 Aug 2022 15:12:44 +0800 Subject: [PATCH] 1 --- business/dao/print_activation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/dao/print_activation.go b/business/dao/print_activation.go index 27034ed75..9c12faf2d 100644 --- a/business/dao/print_activation.go +++ b/business/dao/print_activation.go @@ -6,7 +6,7 @@ import ( func CheckHeard(printNo string) (bool, error) { var data *model.PrintActivation - err := GetRow(GetDB(), &data, `SELECT * FROM printer_activation WHERE print_no = ?`, []interface{}{printNo}...) + err := GetRow(GetDB(), &data, `SELECT * FROM print_activation WHERE print_no = ?`, []interface{}{printNo}...) if err != nil { return false, err }