diff --git a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java index 349b7af..8f9ba21 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 = 0") 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 d4fc458..d386226 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);