作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

导出功能优化

... ... @@ -94,7 +94,7 @@ class AdminCommon extends Backend
//导出套餐订单列表
public static function exportOrderList($where){
$expTableData = Common::selectWhereData('order',$where,'r_id,order_sn,price,content,total_num,use_num,not_use_num,advice,address,organization,pin_user,mark','order_sn asc');
$expTableData = Common::selectWhereData('order',$where,'createtime,r_id,order_sn,price,content,total_num,use_num,not_use_num,advice,address,organization,pin_user,mark','order_sn asc');
//查询手机号
$r_ids = array_unique(array_column($expTableData,'r_id'));
$res_mobile = Common::selectWhereData('registers',['id'=>['in',$r_ids]],'id,mobile');
... ...