更新 'src/main/java/com/yipin/liuwanr/service/Project_ManagementService.java'

master
chengzhu.quan 4 years ago
parent e8d98e5849
commit 6eb88e4187
  1. 4
      src/main/java/com/yipin/liuwanr/service/Project_ManagementService.java

@ -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);
} }
//修改项目信息 //修改项目信息

Loading…
Cancel
Save