ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TChargingOrderMapper.xml
@@ -55,4 +55,18 @@ limit #{pageCurr}, #{pageSize} </if> </select> <select id="getNoInvoicedOrder" resultMap="BaseResultMap"> select * from t_charging_order where del_flag = 0 and app_user_id = #{appUserId} <if test="null != month and '' != month"> and DATE_FORMAT(end_time, '%Y-%m') = #{month} </if> and id not in (select order_id from t_order_invoice_detail where order_type = 1) order by create_time desc <if test="null != pageCurr and null != pageSize"> limit #{pageCurr}, #{pageSize} </if> </select> </mapper>