1. 修改售電抓取電站的值

This commit is contained in:
Kai 2021-09-23 17:49:23 +08:00
parent 814e618961
commit d485b2bca9

View File

@ -46,8 +46,8 @@ namespace SolarPower.Controllers
where_entities.Add("Filter", filter); where_entities.Add("Filter", filter);
} }
//抓出 除了自建自用
var temp_solarType_where = $@" ps.SolarType != 2"; var temp_solarType_where = $@" ps.SolarType = 0";
where.Add(temp_solarType_where); where.Add(temp_solarType_where);
var powerStations = myPowerStationService.GetMyPowerStations(myUser, 1, null, where, where_entities); var powerStations = myPowerStationService.GetMyPowerStations(myUser, 1, null, where, where_entities);