Commit b867bf06 authored by hezhen's avatar hezhen

修改用户编辑

parent fd782b23
......@@ -165,7 +165,7 @@ public class UserController extends CommonBaseController {
}
if(list.size()==1){
User user=list.get(0);
if(user.getId()!=vo.getId()){
if(!user.getId().equals(vo.getId())){
throw new RuntimeException("用户名不能重复");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment