2 Commit-ok 8834a3b099 ... 68b4485181

Szerző SHA1 Üzenet Dátum
  ‘xugp 68b4485181 Merge remote-tracking branch 'origin/master' 1 éve
  ‘xugp 4c9c74e699 人事部审核通过后即开始计算 1 éve

+ 8 - 2
ims-service/ims-eval/src/main/java/com/ims/eval/service/custom/WorkflowService.java

@@ -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"://单位考评目标修订