check workflow
This commit is contained in:
parent
4c2188a363
commit
32b0aa325d
74 changed files with 529 additions and 285 deletions
|
|
@ -2152,7 +2152,8 @@ export class PositionController extends Controller {
|
|||
*/
|
||||
@Get("history/{id}")
|
||||
async getHistoryPosMater(@Path() id: string, @Request() request: RequestWithUser) {
|
||||
await new permission().PermissionGet(request, "SYS_ORG");
|
||||
let _workflow = await new permission().Workflow(request, id, "SYS_ORG");
|
||||
if (_workflow == false) await new permission().PermissionGet(request, "SYS_ORG");
|
||||
const posMaster = await this.posMasterRepository.findOne({
|
||||
where: { id },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue