ruoyi-service/ruoyi-order/src/main/resources/mapper/order/OrderMapper.xml
@@ -100,12 +100,10 @@ SUM( CASE WHEN tor.order_type = 2 THEN tor.total_amount ELSE 0 END ) as singleTotalMoney FROM t_order tor where 1 = 1 <if test="startTime != null and '' != startTime and endTime != null and '' != endTime"> and tor.create_time between #{startTime} and #{endTime} </if> <if test="null != shopId"> and tor.shop_id = #{shopId} </if> and tor.order_status!=5 </select>