no message
This commit is contained in:
parent
b048fde3b6
commit
1d4cb81048
2 changed files with 2 additions and 2 deletions
|
|
@ -571,7 +571,7 @@ export class SalaryPeriodController extends Controller {
|
|||
@Post("change/group")
|
||||
async changeGroup(@Body() body: { profileId: string; groupId: string }) {
|
||||
const salaryProfile = await this.salaryProfileRepository.findOne({
|
||||
relations: ["salaryOrg", "salaryOrg.salaryPeriod"],
|
||||
// relations: ["salaryOrg", "salaryOrg.salaryPeriod"],
|
||||
where: { id: body.profileId },
|
||||
});
|
||||
if (!salaryProfile) {
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
|||
@Post("change/group")
|
||||
async changeGroup(@Body() body: { profileId: string; groupId: string }) {
|
||||
const salaryProfile = await this.salaryProfileRepository.findOne({
|
||||
relations: ["salaryOrg", "salaryOrg.salaryPeriod"],
|
||||
// relations: ["salaryOrg", "salaryOrg.salaryPeriod"],
|
||||
where: { id: body.profileId },
|
||||
});
|
||||
if (!salaryProfile) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue