fix:root
This commit is contained in:
parent
45e6e2bd5d
commit
8c2faf4b31
1 changed files with 0 additions and 22 deletions
|
|
@ -258,26 +258,6 @@ export class EvaluationController {
|
|||
params.root = orgDna.rootDnaId;
|
||||
}
|
||||
|
||||
if (orgDna.child1DnaId) {
|
||||
conditions.push("evaluation.child1DnaId = :child1");
|
||||
params.child1 = orgDna.child1DnaId;
|
||||
}
|
||||
|
||||
if (orgDna.child2DnaId) {
|
||||
conditions.push("evaluation.child2DnaId = :child2");
|
||||
params.child2 = orgDna.child2DnaId;
|
||||
}
|
||||
|
||||
if (orgDna.child3DnaId) {
|
||||
conditions.push("evaluation.child3DnaId = :child3");
|
||||
params.child3 = orgDna.child3DnaId;
|
||||
}
|
||||
|
||||
if (orgDna.child4DnaId) {
|
||||
conditions.push("evaluation.child4DnaId = :child4");
|
||||
params.child4 = orgDna.child4DnaId;
|
||||
}
|
||||
|
||||
if (conditions.length > 0) {
|
||||
typeCondition = {
|
||||
query: conditions.join(" AND "),
|
||||
|
|
@ -285,8 +265,6 @@ export class EvaluationController {
|
|||
};
|
||||
}
|
||||
} else if (_data.privilege === "NORMAL") {
|
||||
console.log("test normal>>>");
|
||||
|
||||
if (level !== null && nodeId) {
|
||||
switch (level) {
|
||||
case 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue