Browse Source

Merge pull request #43 from lenboo/dev

fix bug the running time is negative when repeat running
pull/1/MERGE
bao liang 6 years ago committed by GitHub
parent
commit
00d63c40e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .gitignore
  2. 1
      escheduler-dao/src/main/java/cn/escheduler/dao/ProcessDao.java
  3. 4
      escheduler-ui/.env

5
.gitignore vendored

@ -7,6 +7,11 @@
.idea
.idea/
.idea/*
.target
.target/
target/*
*/target
*/target/*
.settings
.nbproject
.classpath

1
escheduler-dao/src/main/java/cn/escheduler/dao/ProcessDao.java

@ -606,6 +606,7 @@ public class ProcessDao extends AbstractBaseDao {
updateTaskInstance(taskInstance);
}
processInstance.setStartTime(new Date());
processInstance.setEndTime(null);
processInstance.setRunTimes(runTime +1);
initComplementDataParam(processDefinition, processInstance, cmdParam);
break;

4
escheduler-ui/.env

@ -1,8 +1,6 @@
# 后端接口地址
#API_BASE = http://192.168.220.154:12345
API_BASE = http://192.168.221.188:12345
API_BASE = http://192.168.220.154:12345
# 本地开发如需ip访问项目把"#"号去掉
#DEV_HOST = 192.168.xx.xx

Loading…
Cancel
Save