fix select placement round

This commit is contained in:
Suphonchai Phoonsawat 2023-09-08 11:31:56 +07:00
parent 9aa444b40b
commit 085b684980
3 changed files with 24 additions and 1 deletions

View file

@ -2601,7 +2601,9 @@ namespace BMA.EHR.Command.Service.Controllers
{
try
{
var rawData = commandCode.Trim().ToUpper() == "C-PM-01" ? await _placementRepository.GetCompetitivePlacementAsync() : await _placementRepository.GetQualifyingPlacementAsync();
var rawData = commandCode.Trim().ToUpper() == "C-PM-01" ? await _placementRepository.GetCompetitivePlacementAsync() :
commandCode.Trim().ToUpper() == "C-PM-02" ? await _placementRepository.GetQualifyingPlacementAsync() :
await _placementRepository.GetAllPlacementAsync();
var data = rawData.Select(x => new