2365 ชั่วคราว
This commit is contained in:
parent
e4e7edff3a
commit
e6779f8ec7
2 changed files with 10 additions and 10 deletions
|
|
@ -470,7 +470,7 @@ export class SalaryPeriodController extends Controller {
|
||||||
const Level = await this.posLevelRepository.findOne({
|
const Level = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: Type.id,
|
posTypeId: Type.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!Level) {
|
if (!Level) {
|
||||||
|
|
@ -935,7 +935,7 @@ export class SalaryPeriodController extends Controller {
|
||||||
const Level = await this.posLevelRepository.findOne({
|
const Level = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: Type.id,
|
posTypeId: Type.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!Level) {
|
if (!Level) {
|
||||||
|
|
@ -1272,7 +1272,7 @@ export class SalaryPeriodController extends Controller {
|
||||||
const Level = await this.posLevelRepository.findOne({
|
const Level = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: Type.id,
|
posTypeId: Type.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!Level) {
|
if (!Level) {
|
||||||
|
|
@ -1981,7 +1981,7 @@ export class SalaryPeriodController extends Controller {
|
||||||
Level = await this.posLevelRepository.findOne({
|
Level = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: Type.id,
|
posTypeId: Type.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!Level) {
|
if (!Level) {
|
||||||
|
|
@ -2474,7 +2474,7 @@ export class SalaryPeriodController extends Controller {
|
||||||
const posLevel = await this.posLevelRepository.findOne({
|
const posLevel = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: posType.id,
|
posTypeId: posType.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!posLevel) {
|
if (!posLevel) {
|
||||||
|
|
|
||||||
|
|
@ -430,7 +430,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
||||||
const Level = await this.posLevelRepository.findOne({
|
const Level = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: Type.id,
|
posTypeId: Type.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!Level) {
|
if (!Level) {
|
||||||
|
|
@ -750,7 +750,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
||||||
const Level = await this.posLevelRepository.findOne({
|
const Level = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: Type.id,
|
posTypeId: Type.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!Level) {
|
if (!Level) {
|
||||||
|
|
@ -941,7 +941,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
||||||
const Level = await this.posLevelRepository.findOne({
|
const Level = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: Type.id,
|
posTypeId: Type.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!Level) {
|
if (!Level) {
|
||||||
|
|
@ -1132,7 +1132,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
||||||
const Level = await this.posLevelRepository.findOne({
|
const Level = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: Type.id,
|
posTypeId: Type.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!Level) {
|
if (!Level) {
|
||||||
|
|
@ -1597,7 +1597,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
||||||
const posLevel = await this.posLevelRepository.findOne({
|
const posLevel = await this.posLevelRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
posTypeId: posType.id,
|
posTypeId: posType.id,
|
||||||
posLevelName: salaryProfile.posLevel,
|
posLevelName: salaryProfile.posLevel?.split("/")[0],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!posLevel) {
|
if (!posLevel) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue