ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TShoppingOrderMapper.xml
@@ -305,17 +305,16 @@ payment_amount FROM t_shopping_order <where> WHERE del_flag = 0 and payment_status = 2 and ISNULL(refund_status) and status!=4 WHERE del_flag = 0 and payment_status = 2 and ISNULL(refund_status) and status!=4 and DATE_FORMAT(create_time, '%Y-%m-%d') between #{statisticsQueryDto.startTime} and #{statisticsQueryDto.endTime} </where> ) AS subquery GROUP BY DATE_FORMAT( subquery.create_time, '%Y-%m-%d' ); DATE_FORMAT( subquery.create_time, '%Y-%m-%d' ) </select>