no message
This commit is contained in:
parent
8d5697245f
commit
03a7b45aa3
9 changed files with 9 additions and 9 deletions
|
|
@ -134,7 +134,7 @@ export class ProfileAbilityController extends Controller {
|
|||
history.profileAbilityId = data.id;
|
||||
await this.profileAbilityHistoryRepo.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
return new HttpSuccess(data.id);
|
||||
return new HttpSuccess();
|
||||
}
|
||||
|
||||
@Patch("{abilityId}")
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ export class ProfileActpositionEmployeeController extends Controller {
|
|||
await this.profileActpositionHistoryRepo.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{actpositionId}")
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ export class ProfileActpositionEmployeeTempController extends Controller {
|
|||
await this.profileActpositionHistoryRepo.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{actpositionId}")
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ export class ProfileAssessmentsController extends Controller {
|
|||
await this.profileAssessmentsHistoryRepository.save(history, { data: req });
|
||||
setLogDataDiff(req, { before, after: history });
|
||||
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{assessmentId}")
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ export class ProfileAssessmentsEmployeeController extends Controller {
|
|||
await this.profileAssessmentsHistoryRepository.save(history, { data: req });
|
||||
setLogDataDiff(req, { before, after: history });
|
||||
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{assessmentId}")
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ export class ProfileAssessmentsEmployeeTempController extends Controller {
|
|||
await this.profileAssessmentsHistoryRepository.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{assessmentId}")
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ export class ProfileAssistanceController extends Controller {
|
|||
history.profileAssistanceId = data.id;
|
||||
await this.profileAssistanceHistoryRepo.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{assistanceId}")
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ export class ProfileAssistanceEmployeeController extends Controller {
|
|||
await this.profileAssistanceHistoryRepo.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{assistanceId}")
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ export class ProfileAssistanceEmployeeTempController extends Controller {
|
|||
await this.profileAssistanceHistoryRepo.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{assistanceId}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue