weizong song 4 months ago
parent 5db7d62c7e
commit c80db0a1a9

@ -167,6 +167,7 @@ class StatisticsController extends CommonController
$start_timestamp = strtotime($month);
$end_timestamp = strtotime("+1 month", strtotime($month));
dump($start_timestamp,$end_timestamp);
//根据项目获取相关数据
$prev_month_balance = Balance::whereRaw("UNIX_TIMESTAMP(`created_at`) < " . $start_timestamp)

Loading…
Cancel
Save