Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlinliu committed Sep 19, 2024
1 parent 8ebf01d commit d2575d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ public Message transferProject(HttpServletRequest request, @RequestBody ProjectT
return Message.error(String.format("project %s is not exists.", projectTransferRequest.getProjectName()));
}
String oldProjectOwner = dbProject.getCreateBy();
if(!projectTransferRequest.getTransferUserName().equals(oldProjectOwner)){
if(projectTransferRequest.getTransferUserName().equals(oldProjectOwner)){
LOGGER.warn("交接人和被交接人不能是同一个人。");
return Message.error("交接人和被交接人不能是同一个人。");
}
Expand Down

0 comments on commit d2575d8

Please sign in to comment.