admin
2020-11-09 2147d023563a7c9d05d97547c00d6b0162c0644c
fanli/src/main/resource/mapping/order/CommonOrderCountMapper.xml
@@ -411,9 +411,15 @@
    <select id="countOderByUidAndLess10" resultType="Integer">
      SELECT count(1) from (SELECT SUM(d.co_payment) as payment FROM `yeshi_ec_common_order` d
      where d.co_uid = #{uid} and d.co_source_type = 1  and d.co_state <![CDATA[<>]]> 4
      <if test="minDate!=null">
            and d.co_third_create_time>#{minDate}
        </if>
      GROUP BY d.`co_order_no`
      ORDER BY d.co_third_create_time desc
      limit 100)A where A.payment<![CDATA[<]]> 10
      limit 100)A where A.payment<![CDATA[<]]> #{maxMoney}
   </select>