|
|
@ -408,7 +408,7 @@ public class Project_ManagementService { |
|
|
|
String projectName = pro.getProjectName(); |
|
|
|
String projectName = pro.getProjectName(); |
|
|
|
Integer count = mapper.getByprojectName(projectName); |
|
|
|
Integer count = mapper.getByprojectName(projectName); |
|
|
|
if (count != null) { |
|
|
|
if (count != null) { |
|
|
|
projectName += projectName + (count + 1); |
|
|
|
projectName += (count + 1); |
|
|
|
pro.setProjectName(projectName); |
|
|
|
pro.setProjectName(projectName); |
|
|
|
} |
|
|
|
} |
|
|
|
// 添加项目信息
|
|
|
|
// 添加项目信息
|
|
|
@ -594,7 +594,7 @@ public class Project_ManagementService { |
|
|
|
String projectName = pro.getProjectName(); |
|
|
|
String projectName = pro.getProjectName(); |
|
|
|
Integer count = mapper.getByprojectName(projectName); |
|
|
|
Integer count = mapper.getByprojectName(projectName); |
|
|
|
if (count != null) { |
|
|
|
if (count != null) { |
|
|
|
projectName += projectName + (count + 1); |
|
|
|
projectName += (count + 1); |
|
|
|
pro.setProjectName(projectName); |
|
|
|
pro.setProjectName(projectName); |
|
|
|
} |
|
|
|
} |
|
|
|
//修改项目信息
|
|
|
|
//修改项目信息
|
|
|
|