refine sql template prep
move extjs sql from ogerdb to ogerextjs