ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TChargingOrderMapper.xml
@@ -1766,8 +1766,9 @@ </select> <select id="getSumDegreeBySiteIds" resultType="java.math.BigDecimal"> select sum(charging_capacity) from t_charging_order where del_flag=0 and site_id in select sum(t2.charging_capacity) from t_charging_order t1 left join t_charging_order_summary_data t2 on t1.id =t2. charging_order_id where t1.del_flag=0 and t1.site_id in <foreach item="item" index="index" collection="siteIds" open="(" separator="," close=")"> #{item} </foreach>