This commit is contained in:
kamonwan taengsuk
2022-11-07 18:34:41 +07:00
parent eb9d120c11
commit a9f0f94392
3 changed files with 51 additions and 46 deletions

View File

@@ -189,7 +189,16 @@ namespace rmutr_report.Controllers
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetHr2Report([FromRoute] string type, [FromBody] hr_position_manage _hr)
{
foreach (var hr in _hr.data)
// var sum = _hr.summary.ToArray();
// if (sum.GetLength(0)>1)
// {
// _hr.text = "สรุปจำนวน";
// }
// else if (sum.GetLength(0)<=1)
// {
// _hr.text = "";
// }
foreach (var hr in _hr.data)
{
if (hr.position_academic_salary != null)
{