Commit cfdabb9f authored by 赵啸非's avatar 赵啸非

修改自动考核后续服务

parent aa719b47
...@@ -159,13 +159,8 @@ public class FeedbackApiController extends AbstractBaseController<FeedbackReq> { ...@@ -159,13 +159,8 @@ public class FeedbackApiController extends AbstractBaseController<FeedbackReq> {
feedbackAnswerOptionEntity.setCreateUserId(context.getUser().getId()); feedbackAnswerOptionEntity.setCreateUserId(context.getUser().getId());
feedbackAnswerOptionEntity.setCreateTime(new Date()); feedbackAnswerOptionEntity.setCreateTime(new Date());
} }
answerService.save(feedbackAnswerEntity, context); answerService.save(feedbackAnswerEntity, context);
} }
//answerService.save(feedbackAnswerList, context);
recordSysLog(request, busiDesc + " 【成功】"); recordSysLog(request, busiDesc + " 【成功】");
} catch (Exception e) { } catch (Exception e) {
log.error(busiDesc, e); log.error(busiDesc, e);
......
...@@ -129,13 +129,20 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA ...@@ -129,13 +129,20 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
entity.setUpdateTime(entity.getCheckTime()); entity.setUpdateTime(entity.getCheckTime());
entity.setCheckStatus(CheckStatusEnum.已处理.getValue()); //处理状态(1.未处理,2.已处理) entity.setCheckStatus(CheckStatusEnum.已处理.getValue()); //处理状态(1.未处理,2.已处理)
dao.update(entity); dao.update(entity);
sendCheckDingTalk(entity);
// sendCheckDingTalk(entity);
try { try {
CheckAttendRecordEntity temp = this.get(entity.getId()); CheckAttendRecordEntity temp = this.get(entity.getId());
if (temp != null) { if (temp != null) {
StaffCheckSummaryQuery query = new StaffCheckSummaryQuery();
AttendPostServiceThread attendPostServiceThread = new AttendPostServiceThread(entity);
ThreadPool.getInstance().execute(attendPostServiceThread);
/* StaffCheckSummaryQuery query = new StaffCheckSummaryQuery();
query.setStaffId(temp.getStaffId()); query.setStaffId(temp.getStaffId());
summaryCheck(query); summaryCheck(query);*/
} }
} catch (Exception e) { } catch (Exception e) {
log.error("汇总已审核的核查记录出错", e); log.error("汇总已审核的核查记录出错", e);
......
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