แก้ response probation
This commit is contained in:
parent
0df7f2ebf3
commit
6713ec6cf0
9 changed files with 539 additions and 560 deletions
|
|
@ -927,7 +927,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
|||
response = JsonConvert.DeserializeObject<PassProbationResponse>(result);
|
||||
|
||||
var seq = 1;
|
||||
foreach (var d in response!.data)
|
||||
foreach (var d in response!.result)
|
||||
{
|
||||
var _baseAPI = _configuration["API"];
|
||||
var _apiUrl = $"{_baseAPI}/org/profile/profileid/position/{d.person.id}";
|
||||
|
|
@ -994,7 +994,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
|||
response = JsonConvert.DeserializeObject<PassProbationResponse>(result);
|
||||
|
||||
var seq = 1;
|
||||
foreach (var d in response!.data)
|
||||
foreach (var d in response!.result)
|
||||
{
|
||||
var _baseAPI = _configuration["API"];
|
||||
var _apiUrl = $"{_baseAPI}/org/profile/profileid/position/{d.person.id}";
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -5,7 +5,7 @@ namespace BMA.EHR.Application.Responses
|
|||
public class EvaluateAssignResponse
|
||||
{
|
||||
public bool successful { get; set; }
|
||||
public Data data { get; set; }
|
||||
public Data result { get; set; }
|
||||
|
||||
public class Data
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace BMA.EHR.Application.Responses
|
|||
public class EvaluateChairmanAssignResponse
|
||||
{
|
||||
public bool successful { get; set; }
|
||||
public Data data { get; set; }
|
||||
public Data result { get; set; }
|
||||
|
||||
public class Data
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace BMA.EHR.Application.Responses
|
|||
public class EvaluateRecordAssignResponse
|
||||
{
|
||||
public bool successful { get; set; }
|
||||
public Data data { get; set; }
|
||||
public Data result { get; set; }
|
||||
|
||||
public class Data
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace BMA.EHR.Application.Responses
|
|||
public class EvaluateResultAssignResponse
|
||||
{
|
||||
public bool successful { get; set; }
|
||||
public Data data { get; set; }
|
||||
public Data result { get; set; }
|
||||
|
||||
public class Data
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
{
|
||||
public bool successful { get; set; }
|
||||
|
||||
public List<DataResponse> data { get; set; } = new();
|
||||
public List<DataResponse> result { get; set; } = new();
|
||||
}
|
||||
|
||||
public class DataResponse
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
public class ProbationAssignResponse
|
||||
{
|
||||
public bool successful { get; set; }
|
||||
public Data data { get; set; }
|
||||
public Data result { get; set; }
|
||||
|
||||
public class Data
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue