|
@@ -231,7 +231,6 @@ public class WorkRegularApplyService extends CrudService<WorkRegularApplyDao, Wo
|
|
|
Map<String, Object> variables = new HashMap<String, Object>();
|
|
|
identityService.setAuthenticatedUserId(workRegularApply.getCurrentUser().getId());
|
|
|
User user = UserUtils.getUser();
|
|
|
- List<User> fgldList = null;
|
|
|
// User user=userDao.get(workRegularApply.getUserId());
|
|
|
String contentStr = "转正人:"+ user.getName()+",转正日期:"+ DateUtils.formatDate(workRegularApply.getApplyDate());
|
|
|
String titleStr = "转正人:"+user.getName();
|
|
@@ -244,9 +243,9 @@ public class WorkRegularApplyService extends CrudService<WorkRegularApplyDao, Wo
|
|
|
rsbzr.setEnname("rsbzr");
|
|
|
rsbzr.setCompany(office);
|
|
|
Role role = roleDao.getByEnname(rsbzr);
|
|
|
- if(role != null) {
|
|
|
- fgldList = userDao.findUserByRoleId(role.getId(), comId);
|
|
|
- }
|
|
|
+// if(role != null) {
|
|
|
+// fgldList = userDao.findUserByRoleId(role.getId(), comId);
|
|
|
+// }
|
|
|
WorkActivityMenu workActivityMenu = workActivityMenuService.findByParentAndOffice("zzsql3125f1f194c82bdea9mrlcc750904", applyOffice);
|
|
|
// 启动流程
|
|
|
String processType = workActivityMenu.getProcessType();
|
|
@@ -268,6 +267,7 @@ public class WorkRegularApplyService extends CrudService<WorkRegularApplyDao, Wo
|
|
|
List<User> bmzrList = UserUtils.getByRoleActivityEnname("bmzr",2,applyOffice.getId(),"22",user);
|
|
|
List<User> fzjlList = UserUtils.getByRoleActivityEnname("fzjl",3,applyOffice.getId(),"22",user);
|
|
|
List<User> zjlList = UserUtils.getByRoleActivityEnname("zjl",3,applyOffice.getId(),"22",user);
|
|
|
+ List<User> fgldList = UserUtils.getByRoleActivityEnname("rsbzr",3,applyOffice.getId(),"22",user);
|
|
|
// List<User> rlzyList = UserUtils.getByRoleActivityEnname("rlzy",3,applyOffice.getId(),"22",user);
|
|
|
if (StringUtils.isNotBlank(workActivityMenu.getId())) {
|
|
|
workProjectNotify.setNotifyRole("");
|
|
@@ -714,7 +714,7 @@ public class WorkRegularApplyService extends CrudService<WorkRegularApplyDao, Wo
|
|
|
// UserUtils.pushMeIm(u.getId());
|
|
|
// }
|
|
|
// }
|
|
|
-
|
|
|
+ dao.update(workRegularApply);
|
|
|
return "保存审核意见成功!";
|
|
|
}
|
|
|
/**
|