Commit f3e6908b by ilal

提交

parent b5b74bc2
...@@ -159,6 +159,7 @@ public class RouterUtils { ...@@ -159,6 +159,7 @@ public class RouterUtils {
if(router.getRelation().size() > 0) { if(router.getRelation().size() > 0) {
// if (r != null && RELATION_TYPE_USERS.equals(r.getType())) { // if (r != null && RELATION_TYPE_USERS.equals(r.getType())) {
List<User> listUser = router.getRelation().get(0).getUsers(); List<User> listUser = router.getRelation().get(0).getUsers();
if(listUser != null) {
user: user:
for (int i = 0; i < listUser.size(); i++) { for (int i = 0; i < listUser.size(); i++) {
String execute = listUser.get(i).getExecute(); String execute = listUser.get(i).getExecute();
...@@ -175,6 +176,10 @@ public class RouterUtils { ...@@ -175,6 +176,10 @@ public class RouterUtils {
} }
} }
}else {
throw new Exception("发起审批有误");
}
// } // }
}else { }else {
throw new Exception("审批人为空"); throw new Exception("审批人为空");
......
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