refactor!: change typo field and reset migration
This commit is contained in:
parent
d0d59cea0d
commit
0e2cc3cb21
58 changed files with 327 additions and 784 deletions
|
|
@ -246,7 +246,7 @@ export class ServiceController extends Controller {
|
|||
code: `${body.code.toLocaleUpperCase()}${last.value.toString().padStart(3, "0")}`,
|
||||
work: { connect: workList.map((v) => ({ id: v.id })) },
|
||||
createdBy: req.user.name,
|
||||
updateBy: req.user.name,
|
||||
updatedBy: req.user.name,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
|
@ -308,7 +308,7 @@ export class ServiceController extends Controller {
|
|||
deleteMany: {},
|
||||
connect: workList.map((v) => ({ id: v.id })),
|
||||
},
|
||||
updateBy: req.user.name,
|
||||
updatedBy: req.user.name,
|
||||
},
|
||||
where: { id: serviceId },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue