no message
This commit is contained in:
parent
2f4b913c39
commit
158eab7683
1 changed files with 4 additions and 5 deletions
|
|
@ -15,10 +15,9 @@ import { MetaWorkflow } from "../entities/MetaWorkflow";
|
|||
import { MetaState } from "../entities/MetaState";
|
||||
import { MetaStateOperator } from "../entities/MetaStateOperator";
|
||||
import { PosMaster } from "../entities/PosMaster";
|
||||
import { Brackets, In, IsNull, Not } from "typeorm";
|
||||
import { Brackets, IsNull, Not } from "typeorm";
|
||||
import { Assign } from "../entities/Assign";
|
||||
import { PosMasterAct } from "../entities/PosMasterAct";
|
||||
import { getAllJSDocTagsOfKind } from "typescript";
|
||||
import { viewDirectorActing } from "../entities/view/viewDirectorActing";
|
||||
import { viewDirector } from "../entities/view/viewDirector";
|
||||
import { ProfileEmployee } from "../entities/ProfileEmployee";
|
||||
|
|
@ -333,7 +332,7 @@ export class WorkflowController extends Controller {
|
|||
},
|
||||
relations: ["workflow"],
|
||||
});
|
||||
if (stateOperatorUser) {
|
||||
if (!stateOperatorUser) {
|
||||
stateOperatorUser = await this.stateOperatorUserRepo.findOne({
|
||||
where: {
|
||||
workflow: {
|
||||
|
|
@ -459,7 +458,7 @@ export class WorkflowController extends Controller {
|
|||
},
|
||||
},
|
||||
});
|
||||
if (stateOperatorUserNow == null) {
|
||||
if (!stateOperatorUserNow) {
|
||||
stateOperatorUserNow = await this.stateOperatorUserRepo.findOne({
|
||||
where: {
|
||||
workflow: {
|
||||
|
|
@ -484,7 +483,7 @@ export class WorkflowController extends Controller {
|
|||
operator: stateOperatorUserNow?.operator || "",
|
||||
},
|
||||
});
|
||||
if (stateOperatorUser == null) {
|
||||
if (!stateOperatorUser) {
|
||||
stateOperatorUser = await this.stateOperatorUserRepo.find({
|
||||
where: {
|
||||
workflow: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue