修復列表
This commit is contained in:
parent
495100c5d3
commit
1cb05ab374
@ -38,7 +38,7 @@ namespace SolarPower.Controllers
|
||||
try
|
||||
{
|
||||
|
||||
var myPowerStations = myPowerStationService.GetMyPowerStations(myUser, cityIds);
|
||||
var myPowerStations = myPowerStationService.GetMyPowerStations(myUser,1, cityIds);
|
||||
|
||||
apiResult.Code = "0000";
|
||||
apiResult.Data = myPowerStations;
|
||||
|
||||
@ -67,7 +67,7 @@ namespace SolarPower.Controllers
|
||||
try
|
||||
{
|
||||
|
||||
var myPowerStations = myPowerStationService.GetMyPowerStations(myUser, cityIds);
|
||||
var myPowerStations = myPowerStationService.GetMyPowerStations(myUser,1, cityIds);
|
||||
|
||||
apiResult.Code = "0000";
|
||||
apiResult.Data = myPowerStations;
|
||||
|
||||
@ -50,7 +50,7 @@ namespace SolarPower.Controllers
|
||||
var temp_solartype_where = @" ps.SolarType = 0";
|
||||
where.Add(temp_solartype_where);
|
||||
|
||||
var powerStations = myPowerStationService.GetMyPowerStations(myUser, null, where, where_entities);
|
||||
var powerStations = myPowerStationService.GetMyPowerStations(myUser, 1, null, where, where_entities);
|
||||
|
||||
var siteDBNamePowerStationId = new Dictionary<string, List<PowerStation>>();
|
||||
|
||||
|
||||
@ -2180,7 +2180,7 @@ namespace SolarPower.Controllers
|
||||
{
|
||||
apiResult.Code = "0000";
|
||||
//solaramount = await powerStationRepository.GetSolarCitySummary(myUser);
|
||||
solaramount = myPowerStationService.GetMyCities(myUser);
|
||||
solaramount = myPowerStationService.GetMyCities(myUser, 0);
|
||||
|
||||
apiResult.Data = solaramount;
|
||||
}
|
||||
|
||||
@ -87,7 +87,7 @@ namespace SolarPower.Controllers
|
||||
}
|
||||
order.Add(temp_pr_order_by);
|
||||
|
||||
var myPowerStations = myPowerStationService.GetMyPowerStations(myUser, filter.CityIds, where, null, order);
|
||||
var myPowerStations = myPowerStationService.GetMyPowerStations(myUser, 1, filter.CityIds, where, null, order);
|
||||
|
||||
foreach(var powerStation in myPowerStations)
|
||||
{
|
||||
|
||||
@ -52,7 +52,7 @@ namespace SolarPower.Controllers
|
||||
where_entities.Add("Filter", filter);
|
||||
}
|
||||
|
||||
var powerStations = myPowerStationService.GetMyPowerStations(myUser, null, where, where_entities);
|
||||
var powerStations = myPowerStationService.GetMyPowerStations(myUser, 1, null, where, where_entities);
|
||||
|
||||
var siteDBNamePowerStationId = new Dictionary<string, List<PowerStation>>();
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ namespace SolarPower.Services.Implement
|
||||
{
|
||||
List<PowerStation> powerStations = new List<PowerStation>();
|
||||
|
||||
powerStations = powerStationRepository.GetMyPowerStationList(myUser, cityIds, wheres, where_entities, orderBy);
|
||||
powerStations = powerStationRepository.GetMyPowerStationList(myUser,1, cityIds, wheres, where_entities, orderBy);
|
||||
|
||||
var myPowerStations_group = powerStations.GroupBy(x => x.CityId);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user