|
@@ -286,7 +286,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
po.setFinishTime(null);
|
|
po.setFinishTime(null);
|
|
int add = simulationProjectMapper.add(po);
|
|
int add = simulationProjectMapper.add(po);
|
|
if (add <= 0) {
|
|
if (add <= 0) {
|
|
- return new ResponseBodyVO<>(ResponseBodyVO.Response.SERVER_FAILURE, "updateProjectNowRunState() 生成新工作失败。");
|
|
|
|
|
|
+ return new ResponseBodyVO<>(ResponseBodyVO.Response.SERVER_FAILURE, "生成新工作失败。");
|
|
}
|
|
}
|
|
// 查询项目详情信息并保存,固定项目最原始的运行数据
|
|
// 查询项目详情信息并保存,固定项目最原始的运行数据
|
|
String projectId = po.getId();
|
|
String projectId = po.getId();
|
|
@@ -320,7 +320,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
.build()
|
|
.build()
|
|
).getInfo();
|
|
).getInfo();
|
|
String infoJson = JsonUtil.beanToJson(info);
|
|
String infoJson = JsonUtil.beanToJson(info);
|
|
- log.info("updateProjectNowRunState() 项目 " + projectId + " 的详情信息为:" + infoJson);
|
|
|
|
|
|
+ log.info("项目 " + projectId + " 的详情信息为:" + infoJson);
|
|
simulationProjectMapper.updateDetailsById(projectId, infoJson);
|
|
simulationProjectMapper.updateDetailsById(projectId, infoJson);
|
|
if ("20".equals(param.getNowRunState())) {
|
|
if ("20".equals(param.getNowRunState())) {
|
|
//设置开始时间
|
|
//设置开始时间
|