From a8617332502884b27878f6ae471fe6abc265b45b Mon Sep 17 00:00:00 2001 From: Zzm0809 <934230207@qq.com> Date: Tue, 26 Dec 2023 15:50:06 +0800 Subject: [PATCH] format --- .../src/main/java/org/dinky/service/impl/TaskServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java b/dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java index f27f68a349..43d4d5d36a 100644 --- a/dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java +++ b/dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java @@ -324,7 +324,7 @@ public JobResult submitTask(TaskSubmitDto submitDto) throws Exception { // The statement set is enabled by default when submitting assignments taskDTO.setStatementSet(true); JobResult jobResult = taskServiceBean.executeJob(taskDTO); - if ((jobResult.getStatus()==Job.JobStatus.FAILED)){ + if ((jobResult.getStatus() == Job.JobStatus.FAILED)) { throw new BusException(jobResult.getError()); } log.info("Job Submit success");