fix crud user

This commit is contained in:
dirgantarasiahaan
2023-05-26 17:18:41 +07:00
parent 00dd061bac
commit cab86cf8fa
13 changed files with 49 additions and 10 deletions

View File

@@ -65,7 +65,14 @@ public class LoginService implements BaseService<LoginRequest, LoginResponse> {
.userId(userRoleView.getId())
.username(userRoleView.getUsername())
.nama(userRoleView.getNama())
.roleId(userRoleView.getRoleId())
.role(userRoleView.getRole())
.instansiId(userRoleView.getInstansiId())
.instansi(userRoleView.getInstansi())
.bidangId(userRoleView.getBidangId())
.bidang(userRoleView.getBidang())
.jabatanId(userRoleView.getJabatanId())
.jabatan(userRoleView.getJabatan())
.accessMenu(new HashSet<>())
.build();

View File

@@ -72,7 +72,12 @@ public class TokenManagementService implements BaseService<RefreshTokenRequest,
.userId(userRoleView.getId())
.username(userRoleView.getUsername())
.nama(userRoleView.getNama())
.roleId(userRoleView.getRoleId())
.role(userRoleView.getRole())
.instansiId(userRoleView.getInstansiId())
.instansi(userRoleView.getInstansi())
.bidangId(userRoleView.getBidangId())
.bidang(userRoleView.getBidang())
.accessMenu(new HashSet<>())
.build();