@@ -78,7 +78,7 @@ public List<User.Overview> getOverview(UserQueryForm form) {
7878 .phone (r .value4 ())
7979 .email (r .value5 ())
8080 .ocppTagEntries (tags )
81- .enabledFeatures (NotificationFeature .splitFeatures (r .value6 ()))
81+ .notificationFeatures (NotificationFeature .splitFeatures (r .value6 ()))
8282 .build ();
8383
8484 // TODO: Improve later. This is not efficient, because we filter after fetching all results. However, this
@@ -203,7 +203,7 @@ private Result<Record6<Integer, String, String, String, String, String>> getOver
203203 USER .LAST_NAME ,
204204 USER .PHONE ,
205205 USER .E_MAIL ,
206- USER .USER_NOTIFICATION_FEATURES )
206+ USER .NOTIFICATION_FEATURES )
207207 .from (USER )
208208 .where (conditions )
209209 .fetch ();
@@ -260,7 +260,7 @@ private Integer addInternal(DSLContext ctx, UserForm form, Integer addressPk) {
260260 .set (USER .E_MAIL , form .getEMail ())
261261 .set (USER .NOTE , form .getNote ())
262262 .set (USER .ADDRESS_PK , addressPk )
263- .set (USER .USER_NOTIFICATION_FEATURES , NotificationFeature .joinFeatures (form .getEnabledFeatures ()))
263+ .set (USER .NOTIFICATION_FEATURES , NotificationFeature .joinFeatures (form .getNotificationFeatures ()))
264264 .returning (USER .USER_PK )
265265 .fetchOne ()
266266 .getUserPk ();
@@ -279,7 +279,7 @@ private void updateInternal(DSLContext ctx, UserForm form, Integer addressPk) {
279279 .set (USER .E_MAIL , form .getEMail ())
280280 .set (USER .NOTE , form .getNote ())
281281 .set (USER .ADDRESS_PK , addressPk )
282- .set (USER .USER_NOTIFICATION_FEATURES , NotificationFeature .joinFeatures (form .getEnabledFeatures ()))
282+ .set (USER .NOTIFICATION_FEATURES , NotificationFeature .joinFeatures (form .getNotificationFeatures ()))
283283 .where (USER .USER_PK .eq (form .getUserPk ()))
284284 .execute ();
285285 }
0 commit comments