diff --git a/src/main/java/com/yipin/liuwanr/mapper/Project_ManagementMapper.java b/src/main/java/com/yipin/liuwanr/mapper/Project_ManagementMapper.java
index a80a684..eb7c9a0 100644
--- a/src/main/java/com/yipin/liuwanr/mapper/Project_ManagementMapper.java
+++ b/src/main/java/com/yipin/liuwanr/mapper/Project_ManagementMapper.java
@@ -34,15 +34,29 @@ public interface Project_ManagementMapper {
*
* @param management
* @return
+ * "select projectId,projectName,projectPermissions,founder,creationTime,state from hr_project_management where isdel=0",
+ * " and projectPermissions=#{projectPermissions}",
+ * " and founder=#{founder}",//服务端跳项目管理
+ * " and (userId=#{userId} or founder = 0)",//教师端,一开始进入项目管理,看见自己创建的和其他人看见的
+ * " and founder=#{founder}",//教师选择创建人为系统
+ * " and userId=#{userId}",//教师选则创建人为老师
+ * " and state=#{state}",
+ * " and systemId=#{systemId}",
+ * " and projectName like concat('%',#{projectName},'%')",
+ * " ORDER BY creationTime desc",
*/
@Select({""})
List queryManagements(Project_Management management);
diff --git a/src/main/java/com/yipin/liuwanr/service/Project_ManagementService.java b/src/main/java/com/yipin/liuwanr/service/Project_ManagementService.java
index 2480e4c..bfea4c1 100644
--- a/src/main/java/com/yipin/liuwanr/service/Project_ManagementService.java
+++ b/src/main/java/com/yipin/liuwanr/service/Project_ManagementService.java
@@ -87,7 +87,7 @@ public class Project_ManagementService {
return resp;
}
//角色等于管理员或者超级管理员
- else if (roleId == 1 || roleId == 2) {
+ else if (roleId == 1 ) {
vo.setUserId(null);
}
}