no message
This commit is contained in:
parent
8bd43b508c
commit
596efe624a
1 changed files with 4 additions and 4 deletions
|
|
@ -1495,7 +1495,7 @@ export class SalaryPeriodController extends Controller {
|
|||
const page = Math.ceil(total / 1000);
|
||||
for (let index = 2; index <= page; index++) {
|
||||
await new CallAPI()
|
||||
.PostData(request, "org/unauthorize/profile/salary/gen", {
|
||||
.PostData(request, "org/unauthorize/salary/gen", {
|
||||
page: index,
|
||||
pageSize: 1000,
|
||||
keyword: "",
|
||||
|
|
@ -1511,7 +1511,7 @@ export class SalaryPeriodController extends Controller {
|
|||
let orgProfileEmployees: any;
|
||||
let _orgProfileEmployees = await new CallAPI().PostData(
|
||||
request,
|
||||
"org/unauthorize/profile/salary/employee/gen",
|
||||
"org/unauthorize/salary/employee/gen",
|
||||
{
|
||||
page: 1,
|
||||
pageSize: 1000,
|
||||
|
|
@ -1526,7 +1526,7 @@ export class SalaryPeriodController extends Controller {
|
|||
const page = Math.ceil(total / 1000);
|
||||
for (let index = 2; index <= page; index++) {
|
||||
await new CallAPI()
|
||||
.PostData(request, "org/unauthorize/profile/salary/employee/gen", {
|
||||
.PostData(request, "org/unauthorize/salary/employee/gen", {
|
||||
page: index,
|
||||
pageSize: 1000,
|
||||
keyword: "",
|
||||
|
|
@ -1579,7 +1579,7 @@ export class SalaryPeriodController extends Controller {
|
|||
salaryOrgNew.lastUpdateUserId = request.user.sub;
|
||||
salaryOrgNew.lastUpdateFullName = request.user.name;
|
||||
salaryOrgNew.group = "GROUP1";
|
||||
await this.salaryOrgRepository.save(salaryOrgNew);
|
||||
await this.salaryOrgEmployeeRepository.save(salaryOrgNew);
|
||||
// if (salaryPeriod.period != "SPECIAL") {
|
||||
// delete salaryOrgNew.id;
|
||||
// salaryOrgNew.group = "GROUP2";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue