|
|
@@ -59,7 +59,7 @@ class StatYjClass extends BaseClass
|
|
|
$arr[$shopAdminId]['pfAmount'] = bcadd($arr[$shopAdminId]['pfAmount'], $actPrice, 2);
|
|
|
$arr[$shopAdminId]['pfNum'] = bcadd($arr[$shopAdminId]['pfNum'], 1);
|
|
|
$arr[$shopAdminId]['num'] = bcadd($arr[$shopAdminId]['num'], 1);
|
|
|
- $arr[$shopAdminId]['amount'] = bcadd($arr[$shopAdminId]['amount'], $arr[$shopAdminId]['pfAmount'], 2);
|
|
|
+ $arr[$shopAdminId]['amount'] = bcadd($arr[$shopAdminId]['amount'], $actPrice, 2);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -83,7 +83,7 @@ class StatYjClass extends BaseClass
|
|
|
$arr[$shopAdminId]['lsAmount'] = bcadd($arr[$shopAdminId]['lsAmount'], $actPrice, 2);
|
|
|
$arr[$shopAdminId]['lsNum'] = bcadd($arr[$shopAdminId]['lsNum'], 1);
|
|
|
$arr[$shopAdminId]['num'] = bcadd($arr[$shopAdminId]['num'], 1);
|
|
|
- $arr[$shopAdminId]['amount'] = bcadd($arr[$shopAdminId]['amount'], $arr[$shopAdminId]['lsAmount'], 2);
|
|
|
+ $arr[$shopAdminId]['amount'] = bcadd($arr[$shopAdminId]['amount'], $actPrice, 2);
|
|
|
}
|
|
|
return array_values($arr);
|
|
|
}
|