update 大数据屏接口

This commit is contained in:
jsowell
2026-08-04 16:29:17 +08:00
parent bfa209becb
commit 9315e701e6
22 changed files with 320 additions and 83 deletions

View File

@@ -3712,6 +3712,18 @@
and t1.order_status = '6'
and t1.create_time <![CDATA[ >= ]]> #{startTime}
and t1.create_time <![CDATA[ < ]]> #{endTime}
<if test="merchantIdList != null and merchantIdList.size() > 0">
and t1.merchant_id in
<foreach collection="merchantIdList" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="stationIdList != null and stationIdList.size() > 0">
and t1.station_id in
<foreach collection="stationIdList" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</select>
<!-- 今日充电电量明细Java汇总日期由代码传入 -->
@@ -3723,5 +3735,17 @@
and t1.order_status = '6'
and t1.create_time <![CDATA[ >= ]]> #{startTime}
and t1.create_time <![CDATA[ < ]]> #{endTime}
<if test="merchantIdList != null and merchantIdList.size() > 0">
and t1.merchant_id in
<foreach collection="merchantIdList" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="stationIdList != null and stationIdList.size() > 0">
and t1.station_id in
<foreach collection="stationIdList" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</select>
</mapper>