修复数据库的query build的from()的bug
Merge branch 'v3/3.1' into orm_4.0

* v3/3.1:
  修复数据库的query build的from()的bug