Commit cabc49f4 authored by 赵啸非's avatar 赵啸非

添加产品资源枚举类

parent d6ec2880
...@@ -69,9 +69,12 @@ public class CheckProjectStatusTaskImpl implements ITaskExcuteService { ...@@ -69,9 +69,12 @@ public class CheckProjectStatusTaskImpl implements ITaskExcuteService {
} catch (JSONException e) { } catch (JSONException e) {
log.info("json反序列化异常:{},返回:{}", e.getMessage(), resp); log.info("json反序列化异常:{},返回:{}", e.getMessage(), resp);
if(setupProjectEntity.getProjectStatus()>ProjectStatusEnum.未部署.getValue()){
setupProjectEntity.setProjectStatus(ProjectStatusEnum.停止.getValue());
setupProjectEntity.setUpdateTime(new Date());
setupProjectService.update(setupProjectEntity);
}
} }
} else if (ProjectTypeEnum.前端.getValue() == setupProjectEntity.getProjectType()) { } else if (ProjectTypeEnum.前端.getValue() == setupProjectEntity.getProjectType()) {
//todo 前端 判断路径文件是否存在 如果存在 则代表运行 //todo 前端 判断路径文件是否存在 如果存在 则代表运行
String projectPath = setupProjectEntity.getProjectPath(); String projectPath = setupProjectEntity.getProjectPath();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment