This commit is contained in:
parent
5caa7db75a
commit
7c6991abe5
4 changed files with 70 additions and 70 deletions
|
|
@ -7052,16 +7052,16 @@ export class ImportDataController extends Controller {
|
|||
salaryTemp.lastUpdateUserId = req.user?.sub || "";
|
||||
salaryTemp.lastUpdateFullName = req.user?.name || "System Administrator";
|
||||
|
||||
// // 12,15,16 isGovernment = false & dateGovernment = salaryTemp.commandDateAffect
|
||||
// if (["12", "15", "16"].includes(salaryTemp.commandCode ?? "")) {
|
||||
// salaryTemp.isGovernment = false;
|
||||
// salaryTemp.dateGovernment = salaryTemp.commandDateAffect;
|
||||
// }
|
||||
// // 1,2,3,4,10,11,20 isGovernment = true & dateGovernment = salaryTemp.commandDateAffect
|
||||
// else if (["1", "2", "3", "4", "10", "11", "20"].includes(salaryTemp.commandCode ?? "")) {
|
||||
// salaryTemp.isGovernment = true;
|
||||
// salaryTemp.dateGovernment = salaryTemp.commandDateAffect;
|
||||
// }
|
||||
// 12,15,16 isGovernment = false & dateGovernment = salaryTemp.commandDateAffect
|
||||
if (["12", "15", "16"].includes(salaryTemp.commandCode ?? "")) {
|
||||
salaryTemp.isGovernment = false;
|
||||
salaryTemp.dateGovernment = salaryTemp.commandDateAffect;
|
||||
}
|
||||
// 1,2,3,4,10,11,20 isGovernment = true & dateGovernment = salaryTemp.commandDateAffect
|
||||
else if (["1", "2", "3", "4", "10", "11", "20"].includes(salaryTemp.commandCode ?? "")) {
|
||||
salaryTemp.isGovernment = true;
|
||||
salaryTemp.dateGovernment = salaryTemp.commandDateAffect;
|
||||
}
|
||||
|
||||
salaryTemps.push(salaryTemp);
|
||||
}
|
||||
|
|
@ -7312,16 +7312,16 @@ export class ImportDataController extends Controller {
|
|||
salaryTemp.lastUpdateUserId = req.user?.sub || "";
|
||||
salaryTemp.lastUpdateFullName = req.user?.name || "System Administrator";
|
||||
|
||||
// // 12,15,16 isGovernment = false & dateGovernment = salaryTemp.commandDateAffect
|
||||
// if (["12", "15", "16"].includes(salaryTemp.commandCode ?? "")) {
|
||||
// salaryTemp.isGovernment = false;
|
||||
// salaryTemp.dateGovernment = salaryTemp.commandDateAffect;
|
||||
// }
|
||||
// // 1,2,3,4,10,11,20 isGovernment = true & dateGovernment = salaryTemp.commandDateAffect
|
||||
// else if (["1", "2", "3", "4", "10", "11", "20"].includes(salaryTemp.commandCode ?? "")) {
|
||||
// salaryTemp.isGovernment = true;
|
||||
// salaryTemp.dateGovernment = salaryTemp.commandDateAffect;
|
||||
// }
|
||||
// 12,15,16 isGovernment = false & dateGovernment = salaryTemp.commandDateAffect
|
||||
if (["12", "15", "16"].includes(salaryTemp.commandCode ?? "")) {
|
||||
salaryTemp.isGovernment = false;
|
||||
salaryTemp.dateGovernment = salaryTemp.commandDateAffect;
|
||||
}
|
||||
// 1,2,3,4,10,11,20 isGovernment = true & dateGovernment = salaryTemp.commandDateAffect
|
||||
else if (["1", "2", "3", "4", "10", "11", "20"].includes(salaryTemp.commandCode ?? "")) {
|
||||
salaryTemp.isGovernment = true;
|
||||
salaryTemp.dateGovernment = salaryTemp.commandDateAffect;
|
||||
}
|
||||
salaryTemps.push(salaryTemp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue