修復bug-如上版
This commit is contained in:
parent
0272dfeb39
commit
e3441a76f7
@ -625,7 +625,7 @@ namespace SolarPower.Repository.Implement
|
||||
{
|
||||
try
|
||||
{
|
||||
var sql = @$"SELECT us.* FROM power_station_operation_personnel ps LEFT JOIN user us ON ps.UserId = us.Id WHERE ps.PowerStationId = {PowerStationId} and ps.Deleted = 0";
|
||||
var sql = @$"SELECT us.* FROM power_station_operation_personnel ps LEFT JOIN user us ON ps.UserId = us.Id WHERE ps.PowerStationId = {PowerStationId} and ps.Deleted = 0 AND us.Deleted = 0";
|
||||
result = (await conn.QueryAsync<MyUser>(sql)).ToList();
|
||||
}
|
||||
catch (Exception exception)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user