fix the blank in sql when generating.change the function names in QueryManager