aa
This commit is contained in:
@@ -1438,7 +1438,7 @@ func GetBrandSecretNumbers(db *DaoDB, brandID int) (results []*model.SecretNumbe
|
|||||||
sql := `
|
sql := `
|
||||||
SELECT a.*
|
SELECT a.*
|
||||||
FROM secret_number 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 = ?
|
WHERE b.deleted_at = ? AND b.id = ?
|
||||||
`
|
`
|
||||||
sqlParams := []interface{}{utils.DefaultTimeValue, brandID}
|
sqlParams := []interface{}{utils.DefaultTimeValue, brandID}
|
||||||
|
|||||||
Reference in New Issue
Block a user