diff --git a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java index 987a643..df9c790 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java @@ -195,6 +195,17 @@ public interface ProjectManagementMapper { ""}) List getJudgmentPoints(@Param("projectId") Integer projectId); + /** + * 查询单个项目判分点信息,根据项目id + * + * @param projectId 项目id + * @return + */ + @Select({""}) + List getJudgmentPointsPs(@Param("projectId") Integer projectId); + /** * 查询单个项目判分点信息,根据项目id * diff --git a/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java b/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java index 0b09827..eadd5e5 100644 --- a/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java +++ b/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java @@ -445,15 +445,29 @@ public class ProjectManagementService { HashMap score = new HashMap(); List scoreIndexList = null; try { - List judgmentPointsList = mapper.getJudgmentPoints(projectId); - Integer size = judgmentPointsList.size(); + //根据projectId查询判分点交易类型 + //List judgmentPointsList = mapper.getJudgmentPoints(projectId); + + /*Integer size = judgmentPointsList.size(); for (int i = 0; i judgmentPointsList = mapper.getJudgmentPointsPs(projectId); + Integer size = judgmentPointsList.size(); + for (int i = 0; i roleList = mapper.queryProjectId(projectId); obj.put("roleList",roleList); obj.put("judgmentPointsList", judgmentPointsList); @@ -665,6 +679,8 @@ public class ProjectManagementService { Integer pointId = points.get(i).getJudgmentPointsId(); //根据该判分点得到数据库存储的对应数据 JudgmentPoints point = mapper.getByjudgmentPointsId(pointId); + + //JudgmentPoints point = mapper.newGetProjectId(pointId); //取出绑定的项目id String projectIds = point.getProjectId(); //取出实验要求