Commit bc0aa01c authored by 黄奎's avatar 黄奎

统计修改

parent 21efcaee
......@@ -165,7 +165,7 @@ WHERE 1=1 AND A.ReOrderStatus IN(2,3,4) ");
StringBuilder builder = new StringBuilder();
string selectFileds = "";
string groupFileds = "";
if (query.SalesTimeType == 1)
if (query.SalesTimeType == 1 || query.SalesTimeType == 0)
{
selectFileds = " SUBSTR(DATE_FORMAT(CreateDate,'%Y%m%d%H'),9,2) AS TimeStr, ";
groupFileds = " GROUP BY DATE_FORMAT(CreateDate,'%Y%m%d%H') ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment