format ibatis query file