From d0b83b31dba32844fc6fe8ff84afa0d960e18de7 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期三, 12 二月 2025 16:09:01 +0800 Subject: [PATCH] bug修改 --- ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TChargingBillMapper.xml | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TChargingBillMapper.xml b/ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TChargingBillMapper.xml index 3f47083..276c666 100644 --- a/ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TChargingBillMapper.xml +++ b/ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TChargingBillMapper.xml @@ -53,4 +53,29 @@ and t1.del_flag = 0 order by t1.create_time desc </select> + <select id="chargingBillListNoLimit" resultType="com.ruoyi.order.api.vo.ChargingBillListVO"> + select t1.* from t_charging_bill t1 + where 1=1 + <if test="req.type != null and req.type!=0"> + and t1.type = #{req.type} + </if> + <if test="req.state != null "> + and t1.status = #{req.state} + </if> + <if test="startTime1 != null and startTime1!=''"> + and (t1.bill_time between #{startTime1} and #{startTime2}) + </if> + <if test="req.uid != null and req.uid!=''"> + and t1.id = #{req.uid} + </if> + <if test="null != req.siteIds and req.siteIds.size()>0" > + and t1.site_id in + <foreach collection="req.siteIds" close=")" open="(" item="item" separator=","> + #{item} + </foreach> + </if> + and t1.billType = 1 + and t1.del_flag = 0 + order by t1.create_time desc + </select> </mapper> -- Gitblit v1.7.1