This commit is contained in:
邹宗楠
2024-11-29 09:39:06 +08:00
parent 19adb91298
commit b99d8c309f
4 changed files with 78 additions and 10 deletions

View File

@@ -511,6 +511,8 @@ func GetStoreList(db *DaoDB, idList, cityCodes, statuss, brandIDs []int, mobileL
sql += " AND (t1.market_man_role = ? OR t1.operator_role = ? OR t1.operator_role2 = ? OR t1.operator_role3 = ?)"
sqlParams = append(sqlParams, shortRoleName, shortRoleName, shortRoleName, shortRoleName)
}
sql += ` ORDER BY id `
err = GetRows(db, &storeList, sql, sqlParams...)
return storeList, err
}