@@ -214,7 +214,9 @@ class My extends Core
$total = 0;
if ($data) {
foreach ($data as $k => $v) {
- $date = $v['daijiaofu_date'];
+ if ($v['daijiaofu_date'] > $date) {
+ $date = $v['daijiaofu_date'];
+ }
$total += $v['daijiaofu'];
}