check workflow
This commit is contained in:
parent
4c2188a363
commit
32b0aa325d
74 changed files with 529 additions and 285 deletions
|
|
@ -713,6 +713,7 @@ export class WorkflowController extends Controller {
|
|||
@Body()
|
||||
body: {
|
||||
refId: string;
|
||||
sysName: string;
|
||||
},
|
||||
) {
|
||||
const profile = await this.profileRepo.findOne({
|
||||
|
|
@ -726,6 +727,7 @@ export class WorkflowController extends Controller {
|
|||
where: {
|
||||
states: { stateUserComments: { profile: { keycloak: req.user.sub } } },
|
||||
refId: body.refId,
|
||||
sysName: body.sysName,
|
||||
},
|
||||
});
|
||||
if (!profileOfficer) throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลสิทธิ์");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue