修改过滤的时间加上时分妙

This commit is contained in:
wangxiaowei 2024-11-06 14:34:57 +08:00
parent 7625319d58
commit 76eee4c4f6

@ -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';
}
// 日报、月报、日期筛选——营业额