Commit 21e7c601 by 翁国栋

8小时后台--

无抄送人时直接跳过
parent b75abcfa
......@@ -1128,6 +1128,11 @@ public class SpmkController {
* @return
*/
private boolean isTrue(List<Router>olist ,List<Router> list){
if(olist.size()==0&&list.size()==0){
return false;
}else if(olist.size()!=list.size()){
return true;
}
if(list.get(0).getClassName().equals("audit")&&list.get(0).getName().equals("审批人")){
if(list.get(0).getRelation().get(0).getType().equals("executive")&&list.get(0).getRelation().get(0).getName().equals("主管")){
return isTrue(olist.get(0).getChildren(),list.get(0).getChildren());
......@@ -1137,6 +1142,8 @@ public class SpmkController {
}else{
return isTrue(olist.get(0).getChildren(),list.get(0).getChildren());
}
}else if(list.get(0).getClassName().equals("copy")&&list.get(0).getName().equals("抄送人")){
return false;
}
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment