Fix Bug บันทึก กรณีต้องใช้ Token เพื่อนำไปแนบเพื่อติดต่อ nodejs
This commit is contained in:
parent
7edd71e404
commit
431d0981ae
2 changed files with 17 additions and 4 deletions
|
|
@ -1890,7 +1890,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
|||
|
||||
#region " Command Receiver "
|
||||
|
||||
public async Task SaveSelectedReceiverAsync(Guid id, List<Guid> selected)
|
||||
public async Task SaveSelectedReceiverAsync(Guid id, List<Guid> selected, string token = "")
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -1902,7 +1902,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
|||
if (command == null)
|
||||
throw new Exception(GlobalMessages.CommandNotFound);
|
||||
|
||||
var ap = (await GetReceiverForByCommndTypeAsync(command)).Where(x => selected.Contains(x.RefPlacementProfileId!.Value));
|
||||
var ap = (await GetReceiverForByCommndTypeAsync(command, token)).Where(x => selected.Contains(x.RefPlacementProfileId!.Value));
|
||||
|
||||
//var appointPeople = await _dbContext.Set<PlacementProfile>()
|
||||
// .Include(x => x.Prefix)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue