From be6a11c6532f55ec969d54b455b7e94e2f4920ae Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 6 Sep 2021 13:40:48 +0800 Subject: [PATCH] aa --- business/model/dao/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/store.go b/business/model/dao/store.go index f8a437a75..af3df28ad 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -1438,7 +1438,7 @@ func GetBrandSecretNumbers(db *DaoDB, brandID int) (results []*model.SecretNumbe sql := ` SELECT a.* FROM secret_number a - LEFT JOIN brand b ON a.pool_key = b.pool_key + LEFT JOIN brand b ON a.pool_key = b.secret_number_pool_key WHERE b.deleted_at = ? AND b.id = ? ` sqlParams := []interface{}{utils.DefaultTimeValue, brandID}