Merge branch 'develop' of github.com:Frappet/BMA-EHR-BackEnd into develop

This commit is contained in:
kittapath 2024-12-25 22:57:30 +07:00
commit 6740dd5f1d
9 changed files with 399 additions and 358 deletions

View file

@ -1039,13 +1039,15 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new { if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
fullName = _null, result.Add(new {
positionname = r.RemarkHorizontal, fullName = _null,
positionno = _null, positionname = r.RemarkHorizontal,
organizationname = _null, positionno = _null,
salary = _null, organizationname = _null,
}); salary = _null,
});
}
} }
return Success(result); return Success(result);
} }

View file

@ -844,27 +844,29 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOc = _null, Education = _null,
OldPositionType = _null, OldOc = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
LeaveDate = _null, OldSalary = _null,
NewOc = _null, LeaveDate = _null,
NewPositionType = _null, NewOc = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -1054,27 +1056,29 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOc = _null, Education = _null,
OldPositionType = _null, OldOc = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
LeaveDate = _null, OldSalary = _null,
NewOc = _null, LeaveDate = _null,
NewPositionType = _null, NewOc = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -1261,21 +1265,23 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
OldOrganization = _null, FullName = r.RemarkHorizontal,
OldPositionLevel = _null, OldOrganization = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
NewOc = _null, OldSalary = _null,
NewPositionLevel = _null, NewOc = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
RemarkHorizontal = _null, NewSalary = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -1464,21 +1470,23 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
OldOc = _null, FullName = r.RemarkHorizontal,
OldPositionNumber = _null, OldOc = _null,
OldSalary = _null, OldPositionNumber = _null,
NewOc = _null, OldSalary = _null,
NewPositionNumber = _null, NewOc = _null,
NewSalary = _null, NewPositionNumber = _null,
ReportingDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, ReportingDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -1678,26 +1686,28 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOc = _null, Education = _null,
OldPositionType = _null, OldOc = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
NewOc = _null, OldSalary = _null,
NewPositionType = _null, NewOc = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }

View file

@ -1623,27 +1623,30 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "")
{ {
No = _null, result.Add(new
FullName = r.RemarkHorizontal, {
Education = _null, No = _null,
PositionName = _null, FullName = r.RemarkHorizontal,
ExamNumber = _null, Education = _null,
PlacementName = _null, PositionName = _null,
Oc = _null, ExamNumber = _null,
PositionType = _null, PlacementName = _null,
PositionLevel = _null, Oc = _null,
PositionNumber = _null, PositionType = _null,
Salary = _null, PositionLevel = _null,
AppointDate = _null, PositionNumber = _null,
CommandExcecuteDate = _null, Salary = _null,
OccupationPosition = _null, AppointDate = _null,
PositionCandidate = _null, CommandExcecuteDate = _null,
OcCandidate = _null, OccupationPosition = _null,
RemarkHorizontal = _null, PositionCandidate = _null,
RemarkVertical = _null, OcCandidate = _null,
}); RemarkHorizontal = _null,
RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -1927,26 +1930,28 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
PositionName = _null, Education = _null,
ExamNumber = _null, PositionName = _null,
PlacementName = _null, ExamNumber = _null,
Oc = _null, PlacementName = _null,
PositionType = _null, Oc = _null,
PositionLevel = _null, PositionType = _null,
PositionNumber = _null, PositionLevel = _null,
Salary = _null, PositionNumber = _null,
AppointDate = _null, Salary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
OccupationPosition = _null, CommandExcecuteDate = _null,
PositionCandidate = _null, OccupationPosition = _null,
RemarkHorizontal = _null, PositionCandidate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -2250,28 +2255,30 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOc = _null, Education = _null,
OldPositionType = _null, OldOc = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
OldPosition = _null, OldSalary = _null,
NewOc = _null, OldPosition = _null,
NewPosition = _null, NewOc = _null,
NewPositionType = _null, NewPosition = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -2476,28 +2483,30 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOc = _null, Education = _null,
OldPosition = _null, OldOc = _null,
OldPositionType = _null, OldPosition = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
NewOc = _null, OldSalary = _null,
NewPosition = _null, NewOc = _null,
NewPositionType = _null, NewPosition = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -2693,26 +2702,28 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOc = _null, Education = _null,
OldPositionType = _null, OldOc = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
LeaveDate = _null, OldSalary = _null,
NewOc = _null, LeaveDate = _null,
NewPositionType = _null, NewOc = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
RemarkHorizontal = _null, AppointDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }

View file

@ -628,18 +628,20 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
PositionName = _null, FullName = r.RemarkHorizontal,
Organization = _null, PositionName = _null,
StartDate = _null, Organization = _null,
EndDate = _null, StartDate = _null,
Reason = _null, EndDate = _null,
RemarkHorizontal = _null, Reason = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }

View file

@ -974,26 +974,28 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOrg = _null, Education = _null,
OldOc = _null, OldOrg = _null,
OldPositionType = _null, OldOc = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldSalary = _null, OldPositionLevel = _null,
NewOc = _null, OldSalary = _null,
NewPositionType = _null, NewOc = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }

View file

@ -838,22 +838,24 @@ namespace BMA.EHR.Placement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
OldOc = _null, FullName = r.RemarkHorizontal,
PositionType = _null, OldOc = _null,
PositionLevel = _null, PositionType = _null,
PositionNumber = _null, PositionLevel = _null,
Salary = _null, PositionNumber = _null,
ReceiveOrganizationName = _null, Salary = _null,
ActiveDate = _null, ReceiveOrganizationName = _null,
CommandExcecuteDate = _null, ActiveDate = _null,
Reason = _null, CommandExcecuteDate = _null,
RemarkHorizontal = _null, Reason = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }

View file

@ -721,27 +721,29 @@ namespace BMA.EHR.Retirement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOc = _null, Education = _null,
OldPositionType = _null, OldOc = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
LeaveDate = _null, OldSalary = _null,
NewOc = _null, LeaveDate = _null,
NewPositionType = _null, NewOc = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -925,28 +927,30 @@ namespace BMA.EHR.Retirement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
Education = _null, FullName = r.RemarkHorizontal,
OldOc = _null, Education = _null,
OldPositionType = _null, OldOc = _null,
OldPositionLevel = _null, OldPositionType = _null,
OldPositionNumber = _null, OldPositionLevel = _null,
OldSalary = _null, OldPositionNumber = _null,
LeaveDate = _null, OldSalary = _null,
MilitaryDate = _null, LeaveDate = _null,
NewOc = _null, MilitaryDate = _null,
NewPositionType = _null, NewOc = _null,
NewPositionLevel = _null, NewPositionType = _null,
NewPositionNumber = _null, NewPositionLevel = _null,
NewSalary = _null, NewPositionNumber = _null,
AppointDate = _null, NewSalary = _null,
CommandExcecuteDate = _null, AppointDate = _null,
RemarkHorizontal = _null, CommandExcecuteDate = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }

View file

@ -2394,22 +2394,24 @@ namespace BMA.EHR.Retirement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
CitizenId = _null, FullName = r.RemarkHorizontal,
PositionName = _null, CitizenId = _null,
Organization = _null, PositionName = _null,
PositionLevel = _null, Organization = _null,
PositionType = _null, PositionLevel = _null,
PositionNumber = _null, PositionType = _null,
ActiveDate = _null, PositionNumber = _null,
Salary = _null, ActiveDate = _null,
Remark = _null, Salary = _null,
RemarkHorizontal = _null, Remark = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -2575,22 +2577,24 @@ namespace BMA.EHR.Retirement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
CitizenId = _null, FullName = r.RemarkHorizontal,
PositionName = _null, CitizenId = _null,
Organization = _null, PositionName = _null,
PositionLevel = _null, Organization = _null,
PositionType = _null, PositionLevel = _null,
PositionNumber = _null, PositionType = _null,
ActiveDate = _null, PositionNumber = _null,
Salary = _null, ActiveDate = _null,
Remark = _null, Salary = _null,
RemarkHorizontal = _null, Remark = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }

View file

@ -2337,22 +2337,24 @@ namespace BMA.EHR.Retirement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
CitizenId = _null, FullName = r.RemarkHorizontal,
PositionName = _null, CitizenId = _null,
Organization = _null, PositionName = _null,
PositionLevel = _null, Organization = _null,
PositionType = _null, PositionLevel = _null,
PositionNumber = _null, PositionType = _null,
ActiveDate = _null, PositionNumber = _null,
Salary = _null, ActiveDate = _null,
Remark = _null, Salary = _null,
RemarkHorizontal = _null, Remark = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }
@ -2518,22 +2520,24 @@ namespace BMA.EHR.Retirement.Service.Controllers
{ {
result.Add(r); result.Add(r);
string? _null = null; string? _null = null;
result.Add(new if (r.RemarkHorizontal != null && r.RemarkHorizontal != "") {
{ result.Add(new
No = _null, {
FullName = r.RemarkHorizontal, No = _null,
CitizenId = _null, FullName = r.RemarkHorizontal,
PositionName = _null, CitizenId = _null,
Organization = _null, PositionName = _null,
PositionLevel = _null, Organization = _null,
PositionType = _null, PositionLevel = _null,
PositionNumber = _null, PositionType = _null,
ActiveDate = _null, PositionNumber = _null,
Salary = _null, ActiveDate = _null,
Remark = _null, Salary = _null,
RemarkHorizontal = _null, Remark = _null,
RemarkVertical = _null, RemarkHorizontal = _null,
}); RemarkVertical = _null,
});
}
} }
return Success(result); return Success(result);
} }