build "where" and "order by" string dynamic used for spring jdbc