update 同步ruoyi

This commit is contained in:
疯狂的狮子li
2021-08-02 13:21:06 +08:00
parent c10d4faf9d
commit 45c72e9728

View File

@@ -137,6 +137,9 @@ public class SysUser extends BaseEntity {
*/
private Long roleId;
public SysUser(Long userId) {
this.userId = userId;
}
public boolean isAdmin() {
return isAdmin(this.userId);