|
@@ -61,11 +61,11 @@ public class ES0013Service extends ES0013BaseModel implements ExecProcessFlow {
|
|
|
esjob.setUpdateTime(new Date());
|
|
|
esjob.setRemark("");
|
|
|
epjDao.insert(esjob);
|
|
|
- run(pid);
|
|
|
+ run(pid,jobId);
|
|
|
+
|
|
|
|
|
|
- readFileSaveTb(pid,jobId);
|
|
|
}
|
|
|
- private void run(String pid) throws Exception {
|
|
|
+ private void run(String pid,String jobId) throws Exception {
|
|
|
LogService.addLog(pid,"求解——————————————————开始");
|
|
|
DockerExe.stopDocker(pid);
|
|
|
DockerExe.run(pid);
|
|
@@ -104,6 +104,7 @@ public class ES0013Service extends ES0013BaseModel implements ExecProcessFlow {
|
|
|
}
|
|
|
});
|
|
|
LogService.addLog(pid,"求解——————————————————成功");
|
|
|
+ readFileSaveTb(pid,jobId);
|
|
|
} catch (Exception e) {
|
|
|
LogService.addLog(pid,"求解——————————————————失败");
|
|
|
e.printStackTrace();
|