aa
This commit is contained in:
@@ -904,6 +904,12 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat
|
||||
sqlParams = append(sqlParams, lockStatuss)
|
||||
}
|
||||
}
|
||||
if params["brandID"] != nil {
|
||||
if utils.MustInterface2Int64(params["brandID"]) != 0 {
|
||||
sqlWhere += " AND t5.brand_id = ?"
|
||||
sqlParams = append(sqlParams, utils.MustInterface2Int64(params["brandID"]))
|
||||
}
|
||||
}
|
||||
if params["cities"] != nil {
|
||||
var cities []int
|
||||
if err = utils.UnmarshalUseNumber([]byte(params["cities"].(string)), &cities); err != nil {
|
||||
|
||||
@@ -110,3 +110,7 @@ func GetRoleMenu(db *DaoDB, roleIDs, menuIDs []int) (roleMenus []*model.RoleMenu
|
||||
err = GetRows(db, &roleMenus, sql, sqlParams)
|
||||
return roleMenus, err
|
||||
}
|
||||
|
||||
func GetUserStores(db *DaoDB, userID string) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user