Merge
This commit is contained in:
parent
3bb92d337a
commit
d9d1a99497
3 changed files with 18 additions and 13 deletions
|
|
@ -322,8 +322,8 @@ namespace BMA.EHR.Application.Repositories
|
||||||
LastInsignia = p.LastInsignia,
|
LastInsignia = p.LastInsignia,
|
||||||
LastInsigniaId = p.LastInsigniaId,
|
LastInsigniaId = p.LastInsigniaId,
|
||||||
Salary = p.Salary,
|
Salary = p.Salary,
|
||||||
PositionSalaryAmount = p.PositionSalaryAmount ?? 0,
|
PositionSalaryAmount = p.PositionSalaryAmount,
|
||||||
Amount = p.Amount ?? 0,
|
Amount = p.Amount,
|
||||||
RootId = p.RootId,
|
RootId = p.RootId,
|
||||||
Root = p.Root,
|
Root = p.Root,
|
||||||
RequestInsignia = GetInsigniaByName("เบญจมาภรณ์มงกุฎไทย"),
|
RequestInsignia = GetInsigniaByName("เบญจมาภรณ์มงกุฎไทย"),
|
||||||
|
|
@ -831,8 +831,8 @@ namespace BMA.EHR.Application.Repositories
|
||||||
RequestInsignia = GetInsigniaByName("จัตุรถาภรณ์มงกุฎไทย"),
|
RequestInsignia = GetInsigniaByName("จัตุรถาภรณ์มงกุฎไทย"),
|
||||||
Seq = 2,
|
Seq = 2,
|
||||||
Gender = p.Gender,
|
Gender = p.Gender,
|
||||||
PositionSalaryAmount = p.PositionSalaryAmount ?? 0,
|
PositionSalaryAmount = p.PositionSalaryAmount,
|
||||||
Amount = p.Amount ?? 0,
|
Amount = p.Amount,
|
||||||
RootId = p.RootId,
|
RootId = p.RootId,
|
||||||
Root = p.Root,
|
Root = p.Root,
|
||||||
MatchingConditions = new List<MatchingCondition>
|
MatchingConditions = new List<MatchingCondition>
|
||||||
|
|
|
||||||
|
|
@ -411,6 +411,9 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
||||||
if (organization == null)
|
if (organization == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// TODO - Comment This
|
||||||
|
//if (organization.Id.ToString() != "e93c0ed3-7b80-42aa-8626-8abf0042f618") continue;
|
||||||
|
|
||||||
var result = await _repository.GetInsigniaRequest(insigniaPeriodId, organization.Id);
|
var result = await _repository.GetInsigniaRequest(insigniaPeriodId, organization.Id);
|
||||||
if (result != null)
|
if (result != null)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -14,16 +14,18 @@
|
||||||
"AllowedHosts": "*",
|
"AllowedHosts": "*",
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
//"DefaultConnection": "User Id=sys;Password=P@ssw0rd;DBA Privilege=SYSDBA;Data Source=localhost:1521/ORCLCDB",
|
//"DefaultConnection": "User Id=sys;Password=P@ssw0rd;DBA Privilege=SYSDBA;Data Source=localhost:1521/ORCLCDB",
|
||||||
//"DefaultConnection": "server=192.168.1.9;user=root;password=adminVM123;port=53636;database=bma_ehr_demo;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;"
|
"DefaultConnection": "server=192.168.1.80;user=root;password=adminVM123;port=3306;database=bma_ehr_demo;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;"
|
||||||
//"DefaultConnection": "server=hrms.chin.in.th;user=root;password=adminVM123;port=53636;database=bma_ehr_demo;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;",
|
//"DefaultConnection": "server=hrms.chin.in.th;user=root;password=adminVM123;port=53636;database=bma_ehr_demo;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;",
|
||||||
"DefaultConnection": "server=hrms.chin.in.th;user=root;password=ey2qVVyyqGYw8CyA7h8X72559r2Ad84K;port=53636;database=hrms;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;",
|
//"DefaultConnection": "server=hrms.chin.in.th;user=root;password=ey2qVVyyqGYw8CyA7h8X72559r2Ad84K;port=53636;database=hrms;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;",
|
||||||
"ExamConnection": "server=hrms.chin.in.th;user=root;password=ey2qVVyyqGYw8CyA7h8X72559r2Ad84K;port=53636;database=hrms_exam;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;",
|
//"ExamConnection": "server=hrms.chin.in.th;user=root;password=ey2qVVyyqGYw8CyA7h8X72559r2Ad84K;port=53636;database=hrms_exam;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;",
|
||||||
"LeaveConnection": "server=hrms.chin.in.th;user=root;password=ey2qVVyyqGYw8CyA7h8X72559r2Ad84K;port=53636;database=hrms_leave;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;",
|
//"LeaveConnection": "server=hrms.chin.in.th;user=root;password=ey2qVVyyqGYw8CyA7h8X72559r2Ad84K;port=53636;database=hrms_leave;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;",
|
||||||
"DisciplineConnection": "server=hrms.chin.in.th;user=root;password=ey2qVVyyqGYw8CyA7h8X72559r2Ad84K;port=53636;database=hrms_discipline;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;"
|
//"DisciplineConnection": "server=hrms.chin.in.th;user=root;password=ey2qVVyyqGYw8CyA7h8X72559r2Ad84K;port=53636;database=hrms_discipline;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;"
|
||||||
},
|
},
|
||||||
"Jwt": {
|
"Jwt": {
|
||||||
"Key": "j7C9RO_p4nRtuwCH4z9Db_A_6We42tkD_p4lZtDrezc",
|
//"Key": "j7C9RO_p4nRtuwCH4z9Db_A_6We42tkD_p4lZtDrezc",
|
||||||
"Issuer": "https://hrms-id.chin.in.th/realms/hrms"
|
//"Issuer": "https://hrms-id.chin.in.th/realms/hrms"
|
||||||
|
"Key": "HP-FnQMUj9msHMSD3T9HtdEnphAKoCJLEl85CIqROFI",
|
||||||
|
"Issuer": "https://id.frappet.synology.me/realms/bma-ehr"
|
||||||
},
|
},
|
||||||
"EPPlus": {
|
"EPPlus": {
|
||||||
"ExcelPackage": {
|
"ExcelPackage": {
|
||||||
|
|
@ -42,9 +44,9 @@
|
||||||
},
|
},
|
||||||
"Protocol": "HTTPS",
|
"Protocol": "HTTPS",
|
||||||
"Node": {
|
"Node": {
|
||||||
"API": "https://hrms.chin.in.th/api/v1/probation"
|
"API": "https://bma-ehr.frappet.synology.me/api/v1/probation"
|
||||||
},
|
},
|
||||||
"API": "https://hrms.chin.in.th/api/v1",
|
"API": "https://bma-ehr.frappet.synology.me/api/v1",
|
||||||
"RabbitMQ": {
|
"RabbitMQ": {
|
||||||
"URL": "localhost",
|
"URL": "localhost",
|
||||||
"UserName": "frappet",
|
"UserName": "frappet",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue