no message
This commit is contained in:
parent
044373d1b2
commit
3866e4a07f
1 changed files with 10 additions and 10 deletions
|
|
@ -803,16 +803,16 @@ export class WorkflowController extends Controller {
|
|||
},
|
||||
) {
|
||||
let userId = "";
|
||||
if (xxx) {
|
||||
} else {
|
||||
const posMasterUser = await this.posMasterRepo.findOne({
|
||||
where: {
|
||||
orgRevision: { orgRevisionIsCurrent: true, orgRevisionIsDraft: false },
|
||||
current_holder: { keycloak: request.user.sub },
|
||||
},
|
||||
relations: ["current_holder", "current_holder.posType", "current_holder.posLevel"],
|
||||
});
|
||||
}
|
||||
// if (xxx) {
|
||||
// } else {
|
||||
// const posMasterUser = await this.posMasterRepo.findOne({
|
||||
// where: {
|
||||
// orgRevision: { orgRevisionIsCurrent: true, orgRevisionIsDraft: false },
|
||||
// current_holder: { keycloak: request.user.sub },
|
||||
// },
|
||||
// relations: ["current_holder", "current_holder.posType", "current_holder.posLevel"],
|
||||
// });
|
||||
// }
|
||||
|
||||
const posMasterUser = await this.posMasterRepo.findOne({
|
||||
where: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue