Merge branch 'develop' into adiDev

This commit is contained in:
AdisakKanthawilang 2025-04-17 10:22:13 +07:00
commit 33a5915bc1

View file

@ -385,7 +385,6 @@ export class ReportController extends Controller {
}, },
}); });
} }
return new HttpSuccess({ return new HttpSuccess({
data: mapData, data: mapData,
total: total, total: total,
@ -5604,7 +5603,15 @@ export class ReportController extends Controller {
} }
} }
} }
return new HttpSuccess({ template: "report2", reportName: "report2", data: { data } });
return new HttpSuccess({
template: "report2",
reportName: "report2",
data: {
rootName: orgRootData.length > 0 ? orgRootData[0].orgRootName : "-",
data: data
}
});
} }
/** /**
* API Report3 * API Report3