|
@@ -8,6 +8,7 @@ import com.ims.eval.entity.custom.IsOkAction;
|
|
|
import com.ims.eval.entity.custom.Menu;
|
|
|
import com.ims.eval.entity.custom.TodoTask;
|
|
|
import com.ims.eval.entity.flow.FlowResult;
|
|
|
+import com.ims.eval.schedule.ScoreCalculationSchedule;
|
|
|
import com.ims.eval.service.IDeptResponsibilityService;
|
|
|
import com.ims.eval.service.IOrganizationEvaluationService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -47,6 +48,9 @@ public class WorkflowService {
|
|
|
@Autowired
|
|
|
private IOrganizationEvaluationService organizationEvaluationService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private ScoreCalculationSchedule scoreCalculationSchedule;
|
|
|
+
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -202,8 +206,10 @@ public class WorkflowService {
|
|
|
deptResponsibilityService.editState(bizKey,taskName);
|
|
|
break;
|
|
|
case "yddwkplc"://月度单位考评流程
|
|
|
- organizationEvaluationService.editState(bizKey,taskName);
|
|
|
-
|
|
|
+ boolean b = organizationEvaluationService.editState(bizKey, taskName);
|
|
|
+ if ("人事部审核".equals(taskName) && b){
|
|
|
+ scoreCalculationSchedule.doTask(bizKey);
|
|
|
+ }
|
|
|
break;
|
|
|
case "dwkpmbxd"://单位考评目标修订
|
|
|
|