|
@@ -754,12 +754,18 @@ public class RuralProjectMessageController extends BaseController {
|
|
//users = UserUtils.getByRoleActivityEnname("bzshb",3,t.getOfficeId(),"12",t.getCreateBy());
|
|
//users = UserUtils.getByRoleActivityEnname("bzshb",3,t.getOfficeId(),"12",t.getCreateBy());
|
|
}else if ("bzshb".equals(taskDefKey)){
|
|
}else if ("bzshb".equals(taskDefKey)){
|
|
users = UserUtils.getByProssType(t.getProcessInstanceId(),5);
|
|
users = UserUtils.getByProssType(t.getProcessInstanceId(),5);
|
|
- if (users==null )
|
|
|
|
- users = UserUtils.getByRoleActivityEnname("gzr",3,t.getOfficeId(),"12",t.getCreateBy());
|
|
|
|
|
|
+ if (users==null ) {
|
|
|
|
+ users = Lists.newArrayList();
|
|
|
|
+ //添加总审人员
|
|
|
|
+ auditUser = UserUtils.get(t.getBzshbUserId());
|
|
|
|
+ users.add(auditUser);
|
|
|
|
+ }
|
|
|
|
+ /*if (users==null )
|
|
|
|
+ users = UserUtils.getByRoleActivityEnname("gzr",3,t.getOfficeId(),"12",t.getCreateBy());/*users = UserUtils.getByRoleActivityEnname("gzr",3,t.getOfficeId(),"12",t.getCreateBy());
|
|
}else if ("gzr".equals(taskDefKey)){
|
|
}else if ("gzr".equals(taskDefKey)){
|
|
users = UserUtils.getByProssType(t.getProcessInstanceId(),5);
|
|
users = UserUtils.getByProssType(t.getProcessInstanceId(),5);
|
|
if (users==null )
|
|
if (users==null )
|
|
- users = UserUtils.getByRoleActivityEnname("gzr",3,t.getOfficeId(),"12",t.getCreateBy());
|
|
|
|
|
|
+ users = UserUtils.getByRoleActivityEnname("gzr",3,t.getOfficeId(),"12",t.getCreateBy());*/
|
|
}else if ("modifyApply".equals(taskDefKey)){
|
|
}else if ("modifyApply".equals(taskDefKey)){
|
|
users = UserUtils.getByProssType(t.getProcessInstanceId(),1);
|
|
users = UserUtils.getByProssType(t.getProcessInstanceId(),1);
|
|
}
|
|
}
|