【项目信息编辑属性修改】
This commit is contained in:
parent
cb6b6e6516
commit
2e44fce9f4
@ -90,6 +90,7 @@ public class Project {
|
||||
/**
|
||||
* 反序列化设置信息
|
||||
*/
|
||||
@JsonIgnore
|
||||
private ProjectServerConfig projectServerConfig;
|
||||
|
||||
public void setServerSetting(String serverSetting) {
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user