|
|
@@ -103,7 +103,7 @@ public class ResumptionServiceImpl implements ResumptionService {
|
|
|
if (status == 1 || status == 4) {
|
|
|
//待履职 和已过期的数据是没有保存过数据的只能根据计划获取
|
|
|
Long planId = resumption.getPlanId();
|
|
|
- resumptionPlanVos = appPlanMapper.selectResumptionPlan(planId,resumption.getPlanStartTime());
|
|
|
+ resumptionPlanVos = appPlanMapper.selectResumptionPlan(planId, resumption.getPlanStartTime());
|
|
|
isExist = false;
|
|
|
} else {
|
|
|
resumptionPlanVos = resumptionMapper.selectResumptionPlan(taskDetailVo.getTaskId());
|
|
|
@@ -131,7 +131,7 @@ public class ResumptionServiceImpl implements ResumptionService {
|
|
|
int quarter = dateTime.getQuarter();
|
|
|
//获取履职任务
|
|
|
Resumption sysResumption = resumptionMapper.findOneByTaskIdAndDate(taskId, year, quarter);
|
|
|
-
|
|
|
+ AppPlan appPlan = appPlanMapper.selectById(sysResumption.getPlanId());
|
|
|
sysResumption.setUpdateBy(SecurityUtils.getUsername());
|
|
|
sysResumption.setSubmitorId(SecurityUtils.getUserId());
|
|
|
sysResumption.setSubmitorName(SecurityUtils.getLoginUser().getName());
|
|
|
@@ -191,6 +191,7 @@ public class ResumptionServiceImpl implements ResumptionService {
|
|
|
.SrcPointId(point.getPointId())
|
|
|
.srcDataPointId(data.getId())
|
|
|
.srcType(QuestionSrcType.Resumption.getValue())
|
|
|
+ .srcTaskType(appPlan.getPlanType())
|
|
|
.srcTaskName(sysResumption.getName())
|
|
|
.checkItem(check.getItemName())
|
|
|
.checkContent(point.getPointName())
|
|
|
@@ -240,7 +241,7 @@ public class ResumptionServiceImpl implements ResumptionService {
|
|
|
// TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
|
|
|
// @Override
|
|
|
// public void afterCommit() {
|
|
|
- appPlanService.updatePlanCompletedState(sysResumption.getPlanId(),1);
|
|
|
+ appPlanService.updatePlanCompletedState(sysResumption.getPlanId(), 1);
|
|
|
// }
|
|
|
// });
|
|
|
|