fix two bugs about query
Merge branch 'master' of https://github.com/xiaoqi55125/resume