modify the sql
Merge branch 'master' of github.com:dianping/cat
refactor the code
Merge pull request #398 from youyong205/master

refactor