fixed sql bug
Merge branch 'master' of github.com:sufish/wheat-web