เพิ่มเลขที่คำสั่ง
This commit is contained in:
parent
114a27c5e6
commit
a9273a4cd1
2 changed files with 16 additions and 15 deletions
|
|
@ -1238,6 +1238,7 @@ export class ReportController extends Controller {
|
|||
await Promise.all(
|
||||
lists.map(async list => {
|
||||
list.status = "DONE"
|
||||
list.commandNo = `${body?.refIds[0]?.commandNo || ""}/${body.refIds[0].commandYear + 543}`
|
||||
await this.appointRepository.save(list)
|
||||
})
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue