|
@@ -181,7 +181,7 @@ public class WebDbService
|
|
|
WHERE [ChargeBoxId] IN @ChargeBoxIds;
|
|
|
""";
|
|
|
var parameters = new DynamicParameters();
|
|
|
- parameters.Add("@ChargeBoxIds", chargeboxIds, direction: ParameterDirection.Input, size: 25);
|
|
|
+ parameters.Add("@ChargeBoxIds", chargeboxIds, direction: ParameterDirection.Input, size: 50);
|
|
|
using SqlConnection conn = await webDbConnectionFactory.CreateAsync();
|
|
|
var configs = await conn.QueryAsync<StationMachine>(getStationStrSql, parameters);
|
|
|
return configs.ToDictionary(x => x.ChargeBoxId, x => x.StationId);
|