ソースを参照

bug fix (#221)

中文逗号
sober 6 年 前
コミット
23ef05ac76

+ 2 - 2
litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/StatMapper.xml

@@ -16,7 +16,7 @@
         sum(actual_price) as amount,
         round(sum(actual_price)/count(distinct user_id),2) as pcr
         from litemall_order
-        where order_status in(401402)
+        where order_status in(401,402)
         group by substr(add_time,1,10)
     </select>
     <select id="statGoods" resultType="map">
@@ -28,4 +28,4 @@
         from litemall_order_goods
         group by substr(add_time,1, 10)
     </select>
-</mapper>
+</mapper>