|
@@ -156,7 +156,7 @@ class CollectInfo extends Controller
|
|
|
$sel_where[] = ['i.resale_status','in','1,2'];
|
|
|
$sel_where[] = ['i.is_destruction','=',1];
|
|
|
$sel_where[] = ['i.status','<>',2];
|
|
|
- $goods_name = Db::name('store_collection')->where('id',$goods_id)->value('id');
|
|
|
+ $goods_name = Db::name('store_collection')->where('id',$goods_id)->value('name');
|
|
|
$list = Db::name('store_order_info')
|
|
|
->alias('i')
|
|
|
->field('count(i.id) num,i.mid,u.phone,u.name user_name')
|