diff --git a/app/api/logic/LocalStoreLogic.php b/app/api/logic/LocalStoreLogic.php index 195f3925..d4935492 100644 --- a/app/api/logic/LocalStoreLogic.php +++ b/app/api/logic/LocalStoreLogic.php @@ -816,8 +816,8 @@ class LocalStoreLogic extends Logic $time_where['end'] = $post['report'] == 1 ? $current_day_end : $current_month_end; } else { // 日期筛选 - $time_where['start'] = $post['filter_day']['startDate']; - $time_where['end'] = $post['filter_day']['endDate']; + $time_where['start'] = $post['filter_day']['startDate'] . ' 00:00:00'; + $time_where['end'] = $post['filter_day']['endDate'] . ' 23:59:59'; } // 日报、月报、日期筛选——营业额