add salary special
This commit is contained in:
parent
2ab006331f
commit
6c9b781f76
2 changed files with 17 additions and 4 deletions
|
|
@ -2622,6 +2622,7 @@ export class CommandController extends Controller {
|
||||||
profileId: string;
|
profileId: string;
|
||||||
date?: Date | null;
|
date?: Date | null;
|
||||||
amount?: Double | null;
|
amount?: Double | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
positionSalaryAmount?: Double | null;
|
positionSalaryAmount?: Double | null;
|
||||||
mouthSalaryAmount?: Double | null;
|
mouthSalaryAmount?: Double | null;
|
||||||
posNo: string | null;
|
posNo: string | null;
|
||||||
|
|
@ -2828,6 +2829,7 @@ export class CommandController extends Controller {
|
||||||
profileId: string;
|
profileId: string;
|
||||||
date?: Date | null;
|
date?: Date | null;
|
||||||
amount?: Double | null;
|
amount?: Double | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
positionSalaryAmount?: Double | null;
|
positionSalaryAmount?: Double | null;
|
||||||
mouthSalaryAmount?: Double | null;
|
mouthSalaryAmount?: Double | null;
|
||||||
posNo: string | null;
|
posNo: string | null;
|
||||||
|
|
@ -2910,6 +2912,7 @@ export class CommandController extends Controller {
|
||||||
unStigma?: string | null;
|
unStigma?: string | null;
|
||||||
commandId?: string | null;
|
commandId?: string | null;
|
||||||
amount?: Double | null;
|
amount?: Double | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
positionSalaryAmount?: Double | null;
|
positionSalaryAmount?: Double | null;
|
||||||
mouthSalaryAmount?: Double | null;
|
mouthSalaryAmount?: Double | null;
|
||||||
isGovernment?: boolean | null;
|
isGovernment?: boolean | null;
|
||||||
|
|
@ -3007,6 +3010,7 @@ export class CommandController extends Controller {
|
||||||
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
||||||
amount: item.amount ? item.amount : null,
|
amount: item.amount ? item.amount : null,
|
||||||
positionSalaryAmount: item.positionSalaryAmount ? item.positionSalaryAmount : null,
|
positionSalaryAmount: item.positionSalaryAmount ? item.positionSalaryAmount : null,
|
||||||
|
amountSpecial: item.amountSpecial ? item.amountSpecial : null,
|
||||||
mouthSalaryAmount: item.mouthSalaryAmount ? item.mouthSalaryAmount : null,
|
mouthSalaryAmount: item.mouthSalaryAmount ? item.mouthSalaryAmount : null,
|
||||||
order:
|
order:
|
||||||
profile.profileSalary.length >= 0
|
profile.profileSalary.length >= 0
|
||||||
|
|
@ -3320,6 +3324,7 @@ export class CommandController extends Controller {
|
||||||
unStigma?: string | null;
|
unStigma?: string | null;
|
||||||
commandId?: string | null;
|
commandId?: string | null;
|
||||||
amount?: Double | null;
|
amount?: Double | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
positionSalaryAmount?: Double | null;
|
positionSalaryAmount?: Double | null;
|
||||||
mouthSalaryAmount?: Double | null;
|
mouthSalaryAmount?: Double | null;
|
||||||
isGovernment?: boolean | null;
|
isGovernment?: boolean | null;
|
||||||
|
|
@ -3413,6 +3418,7 @@ export class CommandController extends Controller {
|
||||||
// positionPathSide: position?.positionArea ?? "-",
|
// positionPathSide: position?.positionArea ?? "-",
|
||||||
// positionExecutive: position?.posExecutive?.posExecutiveName ?? "-",
|
// positionExecutive: position?.posExecutive?.posExecutiveName ?? "-",
|
||||||
amount: item.amount ? item.amount : null,
|
amount: item.amount ? item.amount : null,
|
||||||
|
amountSpecial: item.amountSpecial ? item.amountSpecial : null,
|
||||||
positionSalaryAmount: item.positionSalaryAmount ? item.positionSalaryAmount : null,
|
positionSalaryAmount: item.positionSalaryAmount ? item.positionSalaryAmount : null,
|
||||||
mouthSalaryAmount: item.mouthSalaryAmount ? item.mouthSalaryAmount : null,
|
mouthSalaryAmount: item.mouthSalaryAmount ? item.mouthSalaryAmount : null,
|
||||||
order:
|
order:
|
||||||
|
|
@ -3536,6 +3542,7 @@ export class CommandController extends Controller {
|
||||||
salaryRef?: string | null;
|
salaryRef?: string | null;
|
||||||
commandId?: string | null;
|
commandId?: string | null;
|
||||||
amount?: Double | null;
|
amount?: Double | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
positionSalaryAmount?: Double | null;
|
positionSalaryAmount?: Double | null;
|
||||||
mouthSalaryAmount?: Double | null;
|
mouthSalaryAmount?: Double | null;
|
||||||
mpCee?: string | null;
|
mpCee?: string | null;
|
||||||
|
|
@ -3629,6 +3636,7 @@ export class CommandController extends Controller {
|
||||||
positionPathSide: position?.positionArea ?? null,
|
positionPathSide: position?.positionArea ?? null,
|
||||||
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
||||||
amount: item.amount ? item.amount : null,
|
amount: item.amount ? item.amount : null,
|
||||||
|
amountSpecial: item.amountSpecial ? item.amountSpecial : null,
|
||||||
positionSalaryAmount: item.positionSalaryAmount ? item.positionSalaryAmount : null,
|
positionSalaryAmount: item.positionSalaryAmount ? item.positionSalaryAmount : null,
|
||||||
mouthSalaryAmount: item.mouthSalaryAmount ? item.mouthSalaryAmount : null,
|
mouthSalaryAmount: item.mouthSalaryAmount ? item.mouthSalaryAmount : null,
|
||||||
order:
|
order:
|
||||||
|
|
@ -3690,6 +3698,7 @@ export class CommandController extends Controller {
|
||||||
salaryRef?: string | null;
|
salaryRef?: string | null;
|
||||||
commandId?: string | null;
|
commandId?: string | null;
|
||||||
amount?: Double | null;
|
amount?: Double | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
positionSalaryAmount?: Double | null;
|
positionSalaryAmount?: Double | null;
|
||||||
mouthSalaryAmount?: Double | null;
|
mouthSalaryAmount?: Double | null;
|
||||||
isGovernment?: boolean | null;
|
isGovernment?: boolean | null;
|
||||||
|
|
@ -3798,6 +3807,7 @@ export class CommandController extends Controller {
|
||||||
positionPathSide: position?.positionArea ?? null,
|
positionPathSide: position?.positionArea ?? null,
|
||||||
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
||||||
amount: item.amount ? item.amount : null,
|
amount: item.amount ? item.amount : null,
|
||||||
|
amountSpecial: item.amountSpecial ? item.amountSpecial : null,
|
||||||
positionSalaryAmount: item.positionSalaryAmount ? item.positionSalaryAmount : null,
|
positionSalaryAmount: item.positionSalaryAmount ? item.positionSalaryAmount : null,
|
||||||
mouthSalaryAmount: item.mouthSalaryAmount ? item.mouthSalaryAmount : null,
|
mouthSalaryAmount: item.mouthSalaryAmount ? item.mouthSalaryAmount : null,
|
||||||
order:
|
order:
|
||||||
|
|
@ -4432,6 +4442,7 @@ export class CommandController extends Controller {
|
||||||
FirstName?: any | null;
|
FirstName?: any | null;
|
||||||
LastName?: any | null;
|
LastName?: any | null;
|
||||||
Amount?: any | null;
|
Amount?: any | null;
|
||||||
|
amountSpecial?: Double | null;
|
||||||
PositionSalaryAmount?: any | null;
|
PositionSalaryAmount?: any | null;
|
||||||
MouthSalaryAmount?: any | null;
|
MouthSalaryAmount?: any | null;
|
||||||
RemarkHorizontal?: any | null;
|
RemarkHorizontal?: any | null;
|
||||||
|
|
|
||||||
|
|
@ -7531,11 +7531,13 @@ export class ProfileController extends Controller {
|
||||||
.where((qb) => {
|
.where((qb) => {
|
||||||
if (body.rootId) {
|
if (body.rootId) {
|
||||||
qb.andWhere("posMaster.orgRootId = :rootId", { rootId: body.rootId });
|
qb.andWhere("posMaster.orgRootId = :rootId", { rootId: body.rootId });
|
||||||
|
qb.andWhere("posMaster.current_nextId IS NOT NULL");
|
||||||
|
} else {
|
||||||
|
qb.andWhere("posMaster.orgRevisionId = :orgRevisionId", {
|
||||||
|
orgRevisionId: findRevision?.id,
|
||||||
|
});
|
||||||
|
qb.andWhere("posMaster.current_holderId IS NOT NULL");
|
||||||
}
|
}
|
||||||
qb.andWhere("posMaster.current_holderId IS NOT NULL");
|
|
||||||
qb.andWhere("posMaster.orgRevisionId = :orgRevisionId", {
|
|
||||||
orgRevisionId: findRevision?.id,
|
|
||||||
});
|
|
||||||
})
|
})
|
||||||
.andWhere(
|
.andWhere(
|
||||||
new Brackets((qb) => {
|
new Brackets((qb) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue