Skip to content

Commit 5290db3

Browse files
author
chenfeiyang6127
committed
【dss-framework-project-server】工作空间管理-用户管理:查询sql异常修复
1 parent 9e2e3ec commit 5290db3

File tree

1 file changed

+1
-1
lines changed
  • dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/dao

1 file changed

+1
-1
lines changed

dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/dao/DSSWorkspaceUserMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void setUserRoleInWorkspace(@Param("workspaceId") int workspaceId, @Param("roleI
5959
"<script>",
6060
"select distinct created_by as creator, username as username, create_time as joinTime,workspace_id as workspaceId " +
6161
"from dss_workspace_user_role where workspace_id = #{workspaceId} ",
62-
"<if test='username != null'>and username=#{username}</if> order by id desc",
62+
"<if test='username != null'>and username=#{username}</if> ",
6363
"</script>"
6464
})
6565
List<DSSWorkspaceUser> getWorkspaceUsers(@Param("workspaceId") String workspaceId,@Param("username") String username);

0 commit comments

Comments
 (0)