|
@@ -714,7 +714,7 @@ public class SecondPostChangeServiceImpl implements ISecondPostChangeService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public AjaxResult completeParent(String comment, String approved, String declarationId, String noteFlag, String attachmentZGBM) {
|
|
|
+ public AjaxResult completeParent(String comment, String approved, String declarationId, String attachmentZGBM) {
|
|
|
List<DeclarationVo> declarationVoList = declarationMapper.selectDeclarationByParentId(declarationId);
|
|
|
String nextUserName = "";
|
|
|
Task finalTask = new TaskEntityImpl();
|
|
@@ -825,12 +825,6 @@ public class SecondPostChangeServiceImpl implements ISecondPostChangeService {
|
|
|
secondPostChangeVos.stream().forEach((SecondPostChangeVo e) -> secondPostChangeMapper.updateSecondPostChange(e));
|
|
|
//合并消息待办处理
|
|
|
completeParentMessageAndBacklog(value, Long.valueOf(declarationId), declarationVoList,nextUserName);
|
|
|
- //发送提示短信
|
|
|
- if("true".equals(noteFlag)){
|
|
|
- //查询下一节点用户昵称,手机号
|
|
|
- String message = "尊敬的" + parentUser.getUserName() + ",您有待处理的审批,请及时处理。事业单位人事管理信息系统," + DateUtils.datePath2();
|
|
|
- noteUtil.setShortMessage(parentUser.getPhonenumber(),message);
|
|
|
- }
|
|
|
return success();
|
|
|
}
|
|
|
|
|
@@ -912,7 +906,15 @@ public class SecondPostChangeServiceImpl implements ISecondPostChangeService {
|
|
|
jsonObject.put("name",s.getName());
|
|
|
jsonObject.put("sex",sysDictDataService.selectDictLabel("sys_user_sex",s.getSex()));
|
|
|
jsonObject.put("birthTime",DateUtils.parseDateToStr("yyyy-MM-dd",s.getBirthTime()));
|
|
|
- jsonObject.put("highestEducation",sysDictDataService.selectDictLabel("per_education",s.getHighestEducation())+"("+sysDictDataService.selectDictLabel("per_degree",s.getDegree())+")");
|
|
|
+ if(StringUtils.isNotEmpty(s.getAchievement())){
|
|
|
+ String highestEducation = sysDictDataService.selectDictLabel("per_education",s.getHighestEducation());
|
|
|
+ if(StringUtils.isNotEmpty(s.getDegree())){
|
|
|
+ highestEducation += "("+sysDictDataService.selectDictLabel("per_degree",s.getDegree())+")";
|
|
|
+ }
|
|
|
+ jsonObject.put("highestEducation",highestEducation);
|
|
|
+ }else {
|
|
|
+ jsonObject.put("highestEducation","");
|
|
|
+ }
|
|
|
jsonObject.put("leadershipPos",s.getLeadershipPos());
|
|
|
jsonObject.put("currentPostType", sysDictDataService.selectDictLabel("per_post_type", s.getCurrentPostType()) + DateUtils.parseDateToStr("yyyy-MM-dd",s.getCurrentPostTime()));
|
|
|
jsonObject.put("currentPostGrades", sysDictDataService.selectDictLabel("post_grades", s.getCurrentPostGrades()) + DateUtils.parseDateToStr("yyyy-MM-dd",s.getCurrentPostTime()));
|