diff --git a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java index a4f7d12..055b1d0 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/ProjectManagementMapper.java @@ -40,7 +40,7 @@ public interface ProjectManagementMapper { // "select projectId,projectName,projectPermissions,founder,creationTime,state,knowledgePoints,experimentIntroduction from hr_project_management where isdel=0", "select * from hr_project_management where 1 = 1",// (roleId NOT LIKE '%3%' AND isdel = 0)", " AND founder NOT LIKE '4' AND isdel = 0", - " AND ((FIND_IN_SET(1,founder) AND isdel = 0) OR ( isdel = 0 AND userId = #{userId} ))",//教师端,一开始进入项目管理,看见自己创建的和其他人看见的 + " AND ((founder != 14 AND isdel = 0) OR ( isdel = 0 AND userId = #{userId} ))",//教师端,一开始进入项目管理,看见自己创建的和其他人看见的 " and projectPermissions=#{projectPermissions}", " and founder=#{founder}",//教师选择创建人为系统 " and state=#{state}", @@ -55,7 +55,7 @@ public interface ProjectManagementMapper { // "select projectId,projectName,projectPermissions,founder,creationTime,state,knowledgePoints,experimentIntroduction from hr_project_management where isdel=0", "select * from hr_project_management where 1 = 1",// (roleId NOT LIKE '%3%' AND isdel = 0)", " AND founder NOT LIKE '4' AND isdel = 0", - " AND ((FIND_IN_SET(1,founder) AND isdel = 0) OR ( isdel = 0 AND userId = #{userId} ))",//教师端,一开始进入项目管理,看见自己创建的和其他人看见的 + " AND ((founder != 14 AND isdel = 0) OR ( isdel = 0 AND userId = #{userId} ))",//教师端,一开始进入项目管理,看见自己创建的和其他人看见的 " and projectPermissions=#{projectPermissions}", " and founder=#{founder}",//教师选择创建人为系统 " and state=#{state}",