yj
2020-03-13 1da0cccd804b441ac94a35f28a2ed23a6a7062cc
fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderCountMapper.xml
@@ -62,6 +62,14 @@
      WHERE t.co_source_type=#{sourceType} AND DATE_FORMAT(t.`co_third_create_time`,'%Y-%m-%d') = #{preDay}
   </select>
   
   <select id="countOrderNumber" resultMap="ChartMap">
      SELECT IFNULL(COUNT(t.`co_id`),0) AS showValue,<include refid="Column_DateType"/>
      FROM `yeshi_ec_common_order` t
      WHERE t.co_source_type=#{sourceType} and t.`co_third_create_time` IS NOT NULL <include refid="Count_Select_DateType"/>
      <include refid="Count_Group_DateType"/>
      ORDER BY t.`co_third_create_time`
   </select>
   
   <select id="countOrderNumberBySettleTime" resultType="java.util.HashMap">
      <!-- 统计历史订单数量  根据结算时间 -->