fix
This commit is contained in:
parent
3591dff755
commit
7b57a073d6
1 changed files with 2 additions and 2 deletions
|
|
@ -5008,7 +5008,6 @@ export class CommandController extends Controller {
|
|||
statusReport: "DONE",
|
||||
}));
|
||||
await this.posMasterActRepository.save(data);
|
||||
|
||||
await Promise.all(
|
||||
posMasters.map(async (item) => {
|
||||
if (item.posMasterChild != null && item.posMasterChild.current_holderId != null) {
|
||||
|
|
@ -5049,6 +5048,7 @@ export class CommandController extends Controller {
|
|||
createdAt: new Date(),
|
||||
lastUpdatedAt: new Date(),
|
||||
commandNo: body.refIds[0].commandNo,
|
||||
refCommandNo: body.refIds[0].commandNo,
|
||||
commandYear: body.refIds[0].commandYear,
|
||||
posNo: item.posMaster.posMasterNo,
|
||||
posNoAbb: shortName,
|
||||
|
|
@ -5058,7 +5058,7 @@ export class CommandController extends Controller {
|
|||
commandName: body.refIds[0].commandName,
|
||||
remark: body.refIds[0].remark,
|
||||
};
|
||||
|
||||
|
||||
const dataAct = new ProfileActposition();
|
||||
Object.assign(dataAct, metaAct);
|
||||
const historyAct = new ProfileActpositionHistory();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue