refactoring about sql parameter construction
refactoring sql parameter construction