mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
增加字段
This commit is contained in:
@@ -3119,4 +3119,16 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="queryOrderCreateTimeByStationId" resultType="java.time.LocalDateTime">
|
||||
SELECT
|
||||
create_time
|
||||
FROM
|
||||
order_basic_info
|
||||
WHERE
|
||||
station_id = #{stationId}
|
||||
ORDER BY
|
||||
create_time DESC
|
||||
LIMIT 1;
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -305,4 +305,16 @@
|
||||
#{stationId, jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="queryAbnormalDeviceCount" resultType="java.lang.String">
|
||||
SELECT
|
||||
t1.pile_sn
|
||||
FROM
|
||||
pile_connector_info t1
|
||||
LEFT JOIN pile_basic_info t2 ON t1.pile_sn = t2.sn
|
||||
WHERE
|
||||
t1.status = '255'
|
||||
AND
|
||||
t2.station_id = #{stationId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user