mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:33:26 +08:00
【修复】修复mysql下【订单报表】按天计算回调数据为空的问题。
This commit is contained in:
@@ -83,7 +83,7 @@ namespace CoreCms.Net.Services
|
||||
select * from CoreCmsOrder
|
||||
where 1 = 1
|
||||
" + where + @"
|
||||
) o on tmp_x.x = ((cast(date(o." + joinVal + @") as signed) - " + sTime.ToString("yyyy-MM-dd") + @") div(" + section + @"))
|
||||
) o on tmp_x.x = ((cast(date(o." + joinVal + @") as signed) - " + sTime.ToString("yyyyMMdd") + @") div(" + section + @"))
|
||||
group by tmp_x.x
|
||||
";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user