#1451,#1452
This commit is contained in:
parent
2f0d86ed58
commit
f456c0821b
3 changed files with 58 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ import { SalaryOrgEmployee } from "../entities/SalaryOrgEmployee";
|
|||
import { SalaryProfileEmployee } from "../entities/SalaryProfileEmployee";
|
||||
import { setLogDataDiff } from "../interfaces/utils";
|
||||
import { RequestWithUser } from "../middlewares/user";
|
||||
import permission from "../interfaces/permission";
|
||||
|
||||
import CallAPI from "../interfaces/call-api";
|
||||
import { isNotEmittedStatement } from "typescript";
|
||||
|
|
@ -7581,6 +7582,7 @@ export class ReportController extends Controller {
|
|||
// }),
|
||||
// )
|
||||
.andWhere("salaryProfileEmployee.status36 = :status", { status: "PENDING" })
|
||||
.andWhere("salaryProfileEmployee.rootId = :rootId", { rootId: body.rootId })
|
||||
.select([
|
||||
"salaryProfileEmployee.id",
|
||||
"salaryProfileEmployee.orgShortName",
|
||||
|
|
@ -8829,6 +8831,7 @@ export class ReportController extends Controller {
|
|||
commandYear: v.commandYear,
|
||||
commandId: v.commandId,
|
||||
salaryLevel: salary.salaryLevel && salary.salaryLevelNew ? salary.salaryLevelNew : salary.salaryLevel,
|
||||
group: salary.group && salary.groupNew ? salary.groupNew : salary.group,
|
||||
})
|
||||
.then(async () => {
|
||||
const before = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue