no message

This commit is contained in:
Kittapath 2024-07-02 22:22:55 +07:00
parent 8b80d44b8e
commit a302956a6d

View file

@ -5407,7 +5407,7 @@ namespace BMA.EHR.Application.Repositories.Commands
var _res = await client.PostAsJsonAsync(apiUrl, new var _res = await client.PostAsJsonAsync(apiUrl, new
{ {
isLeave = true, isLeave = true,
leaveReason = "ได้รับโทษทางวินัย ให้ออกจากราชการ", leaveReason = "ให้ออกจากราชการ",
dateLeave = command.CommandAffectDate, dateLeave = command.CommandAffectDate,
}); });
var _result = await _res.Content.ReadAsStringAsync(); var _result = await _res.Content.ReadAsStringAsync();
@ -9160,8 +9160,8 @@ namespace BMA.EHR.Application.Repositories.Commands
{ {
ret.Add(new KeyValueItemResponse ret.Add(new KeyValueItemResponse
{ {
Id = raw.result!.rootId??null, Id = raw.result!.rootId ?? null,
Name = raw.result!.root??null, Name = raw.result!.root ?? null,
}); });
} }
} }
@ -9800,7 +9800,7 @@ namespace BMA.EHR.Application.Repositories.Commands
var Insignias = await _dbContext.Set<ProfileInsignia>() var Insignias = await _dbContext.Set<ProfileInsignia>()
.Include(x => x.Insignia) .Include(x => x.Insignia)
.Where(x => profile.Id==x.ProfileId) .Where(x => profile.Id == x.ProfileId)
.ToListAsync(); .ToListAsync();
if (Insignias.Count > 0) if (Insignias.Count > 0)
{ {