修复查询goods_detail表为空的bug,改为统一查询tools_detail