mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:19:49 +08:00
【修复】修复mysql下【订单报表】按天计算回调数据为空的问题。
This commit is contained in:
@@ -83,7 +83,7 @@ namespace CoreCms.Net.Services
|
|||||||
select * from CoreCmsOrder
|
select * from CoreCmsOrder
|
||||||
where 1 = 1
|
where 1 = 1
|
||||||
" + where + @"
|
" + 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
|
group by tmp_x.x
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user