|
|
@@ -127,6 +127,7 @@ public class AnnualPlanLibManage { |
|
|
|
throw new BizException("开启方案申报失败"); |
|
|
|
} |
|
|
|
}); |
|
|
|
projectService.updateBatchById(projects); |
|
|
|
} |
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@@ -147,6 +148,7 @@ public class AnnualPlanLibManage { |
|
|
|
public void suspendAnnualPlan(ProjectIdReq req) throws Exception { |
|
|
|
Project project = projectService.getById(req.getProjectId()); |
|
|
|
stateMachine.execute(project, ProjectStatusChangeEvent.ANNUAL_PLAN_SUSPEND); |
|
|
|
projectService.updateById(project); |
|
|
|
} |
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|