修复二维码下载接口
This commit is contained in:
parent
a60fbda52a
commit
c345de671d
@ -46,6 +46,7 @@
|
|||||||
AND p.del_flag = 0
|
AND p.del_flag = 0
|
||||||
AND t.del_flag = 0
|
AND t.del_flag = 0
|
||||||
|
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectExcelDataByStationId" resultType="map">
|
<select id="selectExcelDataByStationId" resultType="map">
|
||||||
@ -56,17 +57,15 @@
|
|||||||
pile.serial_number AS psn,
|
pile.serial_number AS psn,
|
||||||
pile.type,
|
pile.type,
|
||||||
pile.power,
|
pile.power,
|
||||||
concat(
|
concat('https://www.scxhua.cn?pNum=', terminal.serial_number) AS qrContent
|
||||||
'https://www.scxhua.cn?pNum=',
|
|
||||||
terminal.serial_number
|
|
||||||
) AS qrContent
|
|
||||||
FROM xhpc_img AS img
|
FROM xhpc_img AS img
|
||||||
INNER JOIN xhpc_terminal AS terminal ON img.terminal_id = terminal.terminal_id
|
INNER JOIN xhpc_terminal AS terminal ON img.terminal_id = terminal.terminal_id
|
||||||
INNER JOIN xhpc_charging_pile AS pile ON pile.charging_pile_id = terminal.charging_pile_id
|
INNER JOIN xhpc_charging_pile AS pile ON pile.charging_pile_id = terminal.charging_pile_id
|
||||||
INNER JOIN xhpc_charging_station AS station ON station.charging_station_id = pile.charging_station_id
|
INNER JOIN xhpc_charging_station AS station ON station.charging_station_id = pile.charging_station_id
|
||||||
WHERE station.charging_station_id = #{stationId}
|
WHERE station.charging_station_id = 1
|
||||||
AND terminal.del_flag = 0
|
AND terminal.del_flag = 0
|
||||||
AND pile.del_flag = 0
|
AND pile.del_flag = 0
|
||||||
|
AND img.del_flag = 0
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@ -82,6 +81,7 @@
|
|||||||
WHERE charging_pile_id = #{pileId}
|
WHERE charging_pile_id = #{pileId}
|
||||||
)
|
)
|
||||||
AND t.del_flag = 0
|
AND t.del_flag = 0
|
||||||
|
AND i.del_flag = 0
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user