แก้ detail ประเมิน
This commit is contained in:
parent
66805cdbfd
commit
c99c969df2
1 changed files with 8 additions and 1 deletions
|
|
@ -686,7 +686,7 @@ export class EvaluationController {
|
||||||
if (!evaluation) {
|
if (!evaluation) {
|
||||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "not found.");
|
throw new HttpError(HttpStatusCode.NOT_FOUND, "not found.");
|
||||||
}
|
}
|
||||||
evaluation.evaluationResult = result;
|
evaluation.evaluationResult = result;
|
||||||
evaluation.lastUpdateUserId = request.user.sub;
|
evaluation.lastUpdateUserId = request.user.sub;
|
||||||
evaluation.lastUpdateFullName = request.user.name;
|
evaluation.lastUpdateFullName = request.user.name;
|
||||||
evaluation.lastUpdatedAt = new Date();
|
evaluation.lastUpdatedAt = new Date();
|
||||||
|
|
@ -1786,6 +1786,13 @@ export class EvaluationController {
|
||||||
const before = structuredClone(evaluation);
|
const before = structuredClone(evaluation);
|
||||||
|
|
||||||
evaluation.step = "PREPARE_DOC_V2";
|
evaluation.step = "PREPARE_DOC_V2";
|
||||||
|
evaluation.subjectDoc2 = evaluation.subject;
|
||||||
|
evaluation.authorDoc2 = evaluation.author;
|
||||||
|
evaluation.assignedPosition = evaluation.position;
|
||||||
|
evaluation.commanderFullnameDoc2 = evaluation.commanderFullname;
|
||||||
|
evaluation.commanderPositionDoc2 = evaluation.commanderPosition;
|
||||||
|
evaluation.commanderAboveFullnameDoc2 = evaluation.commanderAboveFullname;
|
||||||
|
evaluation.commanderAbovePositionDoc2 = evaluation.commanderAbovePosition;
|
||||||
evaluation.lastUpdateUserId = request.user.sub;
|
evaluation.lastUpdateUserId = request.user.sub;
|
||||||
evaluation.lastUpdateFullName = request.user.name;
|
evaluation.lastUpdateFullName = request.user.name;
|
||||||
evaluation.lastUpdatedAt = new Date();
|
evaluation.lastUpdatedAt = new Date();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue