src/main/resources/mapper/payment/OrderItemMapper.xml
@@ -76,8 +76,8 @@ SELECT sum(oi.num) FROM t_order_item oi JOIN t_order o on oi.order_id = o.id WHERE o.payment_time is not null and o.refund_time is null WHERE o.deleted=0 and o.status_backend not in ('PENDING','CANCEL','REFUND') <if test="startTime != null"> and o.create_time > #{startTime} </if>