|
|
@@ -1312,7 +1312,7 @@ class StatSaleClass extends BaseClass
|
|
|
continue;
|
|
|
}
|
|
|
$sendStaffId = $ghsOrder['sendStaffId'] ?? 0;
|
|
|
- $sendStaffName = $ghsOrder['sendStaffName'] ?? '未记名';
|
|
|
+ $sendStaffName = isset($ghsOrder['sendStaffName']) && !empty($ghsOrder['sendStaffName']) ? $ghsOrder['sendStaffName'] : '未记名';
|
|
|
if (isset($arr[$sendStaffId])) {
|
|
|
$arr[$sendStaffId]['orderNum'] = bcadd($arr[$sendStaffId]['orderNum'], 1);
|
|
|
$arr[$sendStaffId]['amount'] = bcadd($arr[$sendStaffId]['amount'], $actPrice, 2);
|