From f6329de5145031c74ac798c01d143eac796e5ddc Mon Sep 17 00:00:00 2001 From: "zhiyong.ning" <354350178@qq.com> Date: Fri, 5 Mar 2021 15:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E5=92=8C=E6=9F=A5=E8=AF=A2=E9=A1=B9=E7=9B=AE=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E6=98=AF=E5=90=A6=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../liuwanr/mapper/ProjectManagementMapper.java | 2 +- .../liuwanr/service/ProjectManagementService.java | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) 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);