业务员
This commit is contained in:
@@ -712,7 +712,7 @@ class DoctorController extends BaseAdminController
|
||||
// TODO 这里有修改
|
||||
foreach ($order_id as $val) {
|
||||
$Ledger = Ledger::find()->alias('re')
|
||||
->where(['re.user_id' => $user->store_id, 'order_id' => $val, 'order_type' => 1, 'status' => [0, 1]])
|
||||
->where(['re.user_id' => 2, 'order_id' => $val, 'order_type' => 1, 'status' => [0, 1]])
|
||||
->all();
|
||||
foreach ($Ledger as $v) {
|
||||
$price_data[] = $v['money'];
|
||||
|
||||
Reference in New Issue
Block a user