แก้ detail ประเมิน

This commit is contained in:
DESKTOP-2S5P7D1\Windows 10 2025-01-20 17:45:14 +07:00
parent 66805cdbfd
commit c99c969df2

View file

@ -686,7 +686,7 @@ export class EvaluationController {
if (!evaluation) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "not found.");
}
evaluation.evaluationResult = result;
evaluation.evaluationResult = result;
evaluation.lastUpdateUserId = request.user.sub;
evaluation.lastUpdateFullName = request.user.name;
evaluation.lastUpdatedAt = new Date();
@ -1786,6 +1786,13 @@ export class EvaluationController {
const before = structuredClone(evaluation);
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.lastUpdateFullName = request.user.name;
evaluation.lastUpdatedAt = new Date();