fix bug: when stop flow, the end time do not show

This commit is contained in:
judy0131 2019-01-15 15:23:29 +08:00
parent 9cba0f2e6e
commit 1fe9f009e1
2 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,7 @@ object H2Util {
val startedStopList = getStartedStop(appId)
startedStopList.foreach(stopName => {
updateStopState(appId,stopName,StopState.KILLED)
updateStopFinishedTime(appId, stopName, new Date().toString)
})
}
//println(updateSql)

View File

@ -155,6 +155,7 @@ object API {
//update db
H2Util.updateFlowState(appID, FlowState.KILLED)
H2Util.updateFlowFinishedTime(appID, new Date().toString)
"ok"
}