Browse Source

定时任务质量稽核

liuwenwen 2 years ago
parent
commit
fd35a7a48a

+ 1 - 1
server/src/main/java/edp/davinci/service/impl/CronJobServiceImpl.java

@@ -268,7 +268,7 @@ public class CronJobServiceImpl extends BaseEntityService implements CronJobServ
     @Transactional
     public CronJob startCronJob(Long id, User user) throws NotFoundException, UnAuthorizedException, ServerException {
         CronJob cronJob = getCronJob(id);
-//		checkWritePermission(entity, cronJob.getProjectId(), user, "start");
+		checkWritePermission(entity, cronJob.getProjectId(), user, "start");
 
         try {
             quartzHandler.addJob(cronJob);