แก้สถ่นะออกคำสั่ง
This commit is contained in:
parent
a975012aa0
commit
5e827d4060
1 changed files with 4 additions and 1 deletions
|
|
@ -1304,6 +1304,7 @@ export class ReportController extends Controller {
|
|||
@Body()
|
||||
body: {
|
||||
refIds: string[];
|
||||
status: string;
|
||||
}
|
||||
) {
|
||||
try {
|
||||
|
|
@ -1425,6 +1426,7 @@ export class ReportController extends Controller {
|
|||
@Body()
|
||||
body: {
|
||||
refIds: string[];
|
||||
status: string;
|
||||
}
|
||||
) {
|
||||
try {
|
||||
|
|
@ -1523,6 +1525,7 @@ export class ReportController extends Controller {
|
|||
@Body()
|
||||
body: {
|
||||
refIds: string[];
|
||||
status: string;
|
||||
}
|
||||
) {
|
||||
try {
|
||||
|
|
@ -1531,7 +1534,7 @@ export class ReportController extends Controller {
|
|||
});
|
||||
await Promise.all(
|
||||
lists.map(async (list) => {
|
||||
list.status = "REPORT";
|
||||
list.status = body.status.trim().toUpperCase();
|
||||
await this.appointRepository.save(list);
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue