增强了查询的功能，支持分页，支持数据库查询

Signed-off-by: hua <ghuazh@gmail.com>
Signed-off-by: hua <ghuazh@gmail.com>
Merge branch 'master' of https://github.com/sgewuhan/vision.git
Signed-off-by: hua <ghuazh@gmail.com>