mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update空指针接口
This commit is contained in:
@@ -3302,4 +3302,24 @@
|
||||
</foreach>
|
||||
and create_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="queryOrderListByStationIdAndTime" resultType="com.jsowell.pile.vo.SupStationStatsVO">
|
||||
select
|
||||
t1.order_code as orderCode,
|
||||
t3.organization_code as organizationCode,
|
||||
t1.station_id AS stationId,
|
||||
t1.pile_sn AS pileSn,
|
||||
t1.pile_connector_code AS pileConnectorCode,
|
||||
t1.charge_start_time AS StartTime,
|
||||
t1.charge_end_time AS EndTime,
|
||||
t2.total_used_electricity AS totalPower
|
||||
FROM order_basic_info t1
|
||||
JOIN order_detail t2 ON t1.order_code = t2.order_code
|
||||
AND t1.del_flag = '0'
|
||||
JOIN pile_merchant_info t3 on t1.merchant_id = t3.id
|
||||
where t1.station_id = #{stationId,jdbcType=VARCHAR}
|
||||
and t1.create_time <![CDATA[ >= ]]> #{startTime,jdbcType=VARCHAR}
|
||||
and t1.create_time <![CDATA[ <= ]]> #{endTime,jdbcType=VARCHAR}
|
||||
order by t1.create_time DESC
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user