Sửa lỗi chỉnh sửa tiêu đề chặng và ngày giờ của chặng

This commit is contained in:
2026-06-15 19:53:58 +07:00
parent 55f0a8e775
commit 4edfd0eb59
12 changed files with 241 additions and 58 deletions
+4 -1
View File
@@ -655,7 +655,10 @@ class LegController {
where: { id },
data: {
note: body.note,
sequence: body.sequence
sequence: body.sequence,
startDate: body.startDate ? new Date(body.startDate) : undefined,
endDate: body.endDate ? new Date(body.endDate) : undefined,
description: body.description,
}
});
}