完成数据库查询

Signed-off-by: lizhi <joaquinaimar@163.com>