generateParamsByObj to param