We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7054ed commit d483285Copy full SHA for d483285
src/main/java/cn/dreampie/function/user/model/User.java
@@ -114,7 +114,7 @@ public String getRoleChildrenIdsStr() {
114
115
public Branch getBranch() {
116
if (this.get("branch") == null)
117
- this.set("branch", Branch.dao.findById(getBranchId()));
+ this.put("branch", Branch.dao.findById(getBranchId()));
118
return this.get("branch");
119
}
120
src/main/webapp/view/app/user/center.ftl
@@ -12,7 +12,8 @@
12
<label for="username" class="col-sm-2 control-label">用 户 名:</label>
13
14
<div class="col-sm-8">
15
- ${(user.full_name)!}(${(user.username)!})
+ ${(user.full_name)!}(${(user.username)!})<br>
16
+ ${(user.branch.name)!}(${(user.phone)!})
17
</div>
18
19
<div class="form-group">
0 commit comments