| | |
| | | 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> |