get รอบเครื่องราชรายงาน
This commit is contained in:
parent
b75c3a2c47
commit
928a4f80f6
1 changed files with 9 additions and 0 deletions
|
|
@ -56,6 +56,15 @@ namespace BMA.EHR.Application.Repositories.Reports
|
||||||
return thaiYear.Substring(2);
|
return thaiYear.Substring(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public async Task<dynamic> GetInsigniaPeriod(Guid id)
|
||||||
|
{
|
||||||
|
var period = await _dbContext.Set<InsigniaPeriod>()
|
||||||
|
.FirstOrDefaultAsync(x => x.Id == id);
|
||||||
|
if (period == null)
|
||||||
|
throw new Exception(GlobalMessages.InsigniaPeriodNotFound);
|
||||||
|
return period;
|
||||||
|
}
|
||||||
|
|
||||||
public async Task<dynamic> GetKhr1Report(Guid id)
|
public async Task<dynamic> GetKhr1Report(Guid id)
|
||||||
{
|
{
|
||||||
var period = await _dbContext.Set<InsigniaPeriod>()
|
var period = await _dbContext.Set<InsigniaPeriod>()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue