異常bug
This commit is contained in:
parent
5d125c803e
commit
434ff6d495
@ -5338,7 +5338,7 @@ namespace SolarPower.Repository.Implement
|
|||||||
SELECT api.Item, api.ItemName
|
SELECT api.Item, api.ItemName
|
||||||
FROM apicall api
|
FROM apicall api
|
||||||
LEFT join
|
LEFT join
|
||||||
(SELECT * FROM {dbname}.power_station_exception ex WHERE ex.Deleted = 0) a
|
(SELECT * FROM {dbname}.power_station_exception ex WHERE ex.Deleted = 0 AND ex.PowerStationId = {powerStationId}) a
|
||||||
ON a.`Type` = api.Item
|
ON a.`Type` = api.Item
|
||||||
WHERE api.PowerStationId = {powerStationId}
|
WHERE api.PowerStationId = {powerStationId}
|
||||||
AND ISNULL(a.Id)
|
AND ISNULL(a.Id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user