业务员

This commit is contained in:
2024-12-12 18:23:45 +08:00
parent 5b0230cd81
commit 3822c7873c

View File

@@ -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'];