Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0
This commit is contained in:
commit
bb52be4b98
@ -654,7 +654,12 @@ public class StaffRoleServiceImpl extends ServiceImpl<StaffRoleMapper, StaffRole
|
||||
}
|
||||
taskProcessRecord.setUseType(1);
|
||||
taskProcessRecordService.insertTaskProcessRecord(taskProcessRecord);
|
||||
dingtalkBusiness.sendTaskNoticeMsg(taskProcessRecord.getDetailId(), taskProcessRecord.getTaskId());
|
||||
try {
|
||||
dingtalkBusiness.sendTaskNoticeMsg(taskProcessRecord.getDetailId(), taskProcessRecord.getTaskId());
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
}
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
|
||||
@ -696,14 +696,13 @@ public class DingtalkBusiness {
|
||||
m++;
|
||||
}
|
||||
}
|
||||
|
||||
return "OK";
|
||||
}
|
||||
|
||||
public String sendTaskNoticeMsg(Long detailId, Long taskId) {
|
||||
ResultDetail resultDetail = resultDetailService.selectResultDetailById(detailId);
|
||||
logger.info("评论通知指标id{}, 任务id{}", detailId, taskId);
|
||||
if(resultDetail != null){
|
||||
/*if(resultDetail != null){
|
||||
TaskComment taskComment = null;
|
||||
if(taskId == null){
|
||||
taskComment = taskCommentService.selectTaskCommentByDetailId(detailId);
|
||||
@ -744,7 +743,7 @@ public class DingtalkBusiness {
|
||||
}else{
|
||||
return "token无效";
|
||||
}
|
||||
}
|
||||
}*/
|
||||
return "OK";
|
||||
}
|
||||
public String sendNoticeMsg(ResultRecord lzResultRecord, List<StaffEntity> staffs) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user