api ระบบวินัย กรรมการ/ช่องทางร้องเรียน
This commit is contained in:
parent
9ed48d93b4
commit
2cdf724d58
69 changed files with 21578 additions and 134 deletions
|
|
@ -48,5 +48,12 @@ namespace BMA.EHR.Application
|
|||
|
||||
return services;
|
||||
}
|
||||
|
||||
public static IServiceCollection AddDisciplineApplication(this IServiceCollection services)
|
||||
{
|
||||
// services.AddTransient<DutyTimeRepository>();
|
||||
|
||||
return services;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Application.Common.Interfaces
|
||||
{
|
||||
public interface IDisciplineDbContext
|
||||
{
|
||||
DbSet<T> Set<T>() where T : class;
|
||||
|
||||
void Attatch<T>(T entity) where T : class;
|
||||
|
||||
Task<int> SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
|
|
@ -6003,8 +6003,8 @@ namespace BMA.EHR.Application.Repositories
|
|||
Organization = oc,
|
||||
RequestStatus = "st1",
|
||||
RequestNote = "",
|
||||
CreatedUserId = UserId ?? "System Administrator",
|
||||
CreatedFullName = FullName ?? "",
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
CreatedAt = DateTime.Now,
|
||||
LastUpdateFullName = FullName ?? "System Administrator",
|
||||
LastUpdateUserId = UserId ?? "",
|
||||
|
|
@ -6026,8 +6026,8 @@ namespace BMA.EHR.Application.Repositories
|
|||
Salary = item.Salary == null ? null : item.Salary,
|
||||
RequestDate = DateTime.Now,
|
||||
MatchingConditions = System.Text.Json.JsonSerializer.Serialize(item.MatchingConditions), // serialize to string
|
||||
CreatedUserId = UserId ?? "System Administrator",
|
||||
CreatedFullName = FullName ?? "",
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
CreatedAt = DateTime.Now,
|
||||
LastUpdateFullName = FullName ?? "System Administrator",
|
||||
LastUpdateUserId = UserId ?? "",
|
||||
|
|
|
|||
|
|
@ -109,8 +109,8 @@ namespace BMA.EHR.Application.Repositories.MessageQueue
|
|||
ReceiverUserId = ReceiverUserId,
|
||||
Type = "",
|
||||
Payload = Payload,
|
||||
CreatedUserId = UserId ?? "System Administrator",
|
||||
CreatedFullName = FullName ?? "",
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
CreatedAt = DateTime.Now,
|
||||
LastUpdateFullName = FullName ?? "System Administrator",
|
||||
LastUpdateUserId = UserId ?? "",
|
||||
|
|
@ -124,8 +124,8 @@ namespace BMA.EHR.Application.Repositories.MessageQueue
|
|||
Body = Body,
|
||||
ReceiverUserId = ReceiverUserId,
|
||||
Payload = Payload,
|
||||
CreatedUserId = UserId ?? "System Administrator",
|
||||
CreatedFullName = FullName ?? "",
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
CreatedAt = DateTime.Now,
|
||||
LastUpdateFullName = FullName ?? "System Administrator",
|
||||
LastUpdateUserId = UserId ?? "",
|
||||
|
|
|
|||
|
|
@ -993,8 +993,8 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
// EndDate = insigniaPeriod.EndDate,
|
||||
// Amount = insigniaPeriod.Amount,
|
||||
// ReliefDoc = insigniaPeriod.ReliefDoc,
|
||||
CreatedUserId = "System Administrator",
|
||||
CreatedFullName = "",
|
||||
CreatedFullName = "System Administrator",
|
||||
CreatedUserId = "",
|
||||
CreatedAt = DateTime.Now,
|
||||
LastUpdateFullName = "System Administrator",
|
||||
LastUpdateUserId = "",
|
||||
|
|
@ -1034,8 +1034,8 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
noreProfileOld.Salary = profileOld.Salary;
|
||||
noreProfileOld.IsApprove = profileOld.IsApprove;
|
||||
noreProfileOld.RequestInsignia = profileOld.RequestInsignia;
|
||||
noreProfileOld.CreatedUserId = "System Administrator";
|
||||
noreProfileOld.CreatedFullName = "";
|
||||
noreProfileOld.CreatedFullName = "System Administrator";
|
||||
noreProfileOld.CreatedUserId = "";
|
||||
noreProfileOld.CreatedAt = DateTime.Now;
|
||||
noreProfileOld.LastUpdateFullName = "System Administrator";
|
||||
noreProfileOld.LastUpdateUserId = "";
|
||||
|
|
@ -1055,8 +1055,8 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
RequestInsignia = profileOld.RequestInsignia,
|
||||
OrganizationOrganizationSend = profileOld.Profile == null || profileOld.Profile.OcId == null ? null : _organizationCommonRepository.GetOrganizationNameFullPath(profileOld.Profile.OcId.Value, false, false),
|
||||
InsigniaNote = insigniaNote,
|
||||
CreatedUserId = "System Administrator",
|
||||
CreatedFullName = "",
|
||||
CreatedFullName = "System Administrator",
|
||||
CreatedUserId = "",
|
||||
CreatedAt = DateTime.Now,
|
||||
LastUpdateFullName = "System Administrator",
|
||||
LastUpdateUserId = "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue