#1864 fix dependency and createCommand date check (#1865)

refactor-architecture
Jave-Chen 2020-01-22 23:16:13 +08:00 committed by dailidong
parent 0d5c6e4e7c
commit ff9009a5ae
2 changed files with 4 additions and 4 deletions

View File

@ -43,6 +43,10 @@
<groupId>org.apache.dolphinscheduler</groupId>
<artifactId>dolphinscheduler-dao</artifactId>
</dependency>
<dependency>
<groupId>org.apache.dolphinscheduler</groupId>
<artifactId>dolphinscheduler-server</artifactId>
</dependency>
<!--springboot-->
<dependency>

View File

@ -499,10 +499,6 @@ public class ExecutorService extends BaseService{
}
}
if ( start == null || end == null) {
return 0;
}
if(commandType == CommandType.COMPLEMENT_DATA){
runMode = (runMode == null) ? RunMode.RUN_MODE_SERIAL : runMode;
if(null != start && null != end && start.before(end)){