diff --git a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java index 349b7af..f3e2cf5 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java @@ -23,7 +23,7 @@ public interface ProjectManagementMapper { * @param projectName * @return */ - @Select("select count(*) from hr_project_management where projectName=#{projectName}") + @Select("select count(*) from hr_project_management where projectName=#{projectName} and isdel = 1") Integer getByprojectName(String projectName); /** diff --git a/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java b/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java index 267c8b1..6980808 100644 --- a/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java +++ b/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java @@ -444,19 +444,8 @@ public class ProjectManagementService { List scoreIndexList = null; try { //根据projectId查询判分点交易类型 - //List judgmentPointsList = mapper.getJudgmentPoints(projectId); - - /*Integer size = judgmentPointsList.size(); - for (int i = 0; i judgmentPointsList = mapper.getJudgmentPoints(projectId); + Integer size = judgmentPointsList.size(); for (int i = 0; i roleList = mapper.queryProjectId(projectId); obj.put("roleList",roleList); obj.put("judgmentPointsList", judgmentPointsList);