fix #708 รายชื่อที่ถูกลบไม่แสดงในระบบโครงสร้าง
This commit is contained in:
parent
e974821777
commit
c3044ac0b4
1 changed files with 1 additions and 1 deletions
|
|
@ -3121,7 +3121,7 @@ export class CommandController extends Controller {
|
||||||
}[];
|
}[];
|
||||||
},
|
},
|
||||||
) {
|
) {
|
||||||
const posMasters = await this.posMasterRepository.find({ where: { id: In(body.refIds) } });
|
const posMasters = await this.posMasterRepository.find({ where: { id: In(body.refIds.map(x => x.refId)) } });
|
||||||
const data = posMasters.map((_data) => ({
|
const data = posMasters.map((_data) => ({
|
||||||
..._data,
|
..._data,
|
||||||
statusReport: "PENDING",
|
statusReport: "PENDING",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue