【项目信息编辑属性修改】

This commit is contained in:
weizhihong 2022-09-28 09:58:56 +08:00
parent cb6b6e6516
commit 2e44fce9f4
2 changed files with 3 additions and 2 deletions

View File

@ -90,6 +90,7 @@ public class Project {
/**
* 反序列化设置信息
*/
@JsonIgnore
private ProjectServerConfig projectServerConfig;
public void setServerSetting(String serverSetting) {

View File

@ -155,7 +155,7 @@ public class ProjectServiceImpl implements ProjectService {
public void save(Project project) {
project.setCreateTime(LocalDateTime.now());
project.setUpdateTime(LocalDateTime.now());
project.setStatus(1);
project.setStatus(Project.EFFECT_PROJECT_STATUS);
projectDAO.insert(project);
}
@ -163,7 +163,7 @@ public class ProjectServiceImpl implements ProjectService {
public void saveProjectView(ProjectView projectView) {
projectView.setCreateTime(LocalDateTime.now());
projectView.setUpdateTime(LocalDateTime.now());
projectView.setStatus(1);
projectView.setStatus(Project.EFFECT_PROJECT_STATUS);
projectViewDAO.insert(projectView);
}