|
@@ -626,7 +626,7 @@ public class TAdminController {
|
|
|
if (StringUtils.isEmpty(tAdmin.getManagerId())) {
|
|
|
String managerId = AdminUtils.encrypt(false, tAdmin.getId());
|
|
|
tAdmin.setManagerId(managerId);
|
|
|
- tAdminService.getById(tAdmin);
|
|
|
+ tAdminService.updateById(tAdmin);
|
|
|
}
|
|
|
UserDetailBO userDetailBO = tAdminService.getUserDetailBO(tAdmin);
|
|
|
return R.ok(userDetailBO);
|