CATEGORY, LEN(CATEGORY) AS M_USER 20자 제한
This commit is contained in:
parent
50d8a9e3b9
commit
4db2ddfd83
@ -71,7 +71,12 @@ public class AdminUserConfiguration implements JobExecutionListener {
|
||||
|
||||
@Bean
|
||||
public ItemProcessor<AdminUserSyncResponse, AdminUserSyncResponse> adminUserProcessor() {
|
||||
return item -> item;
|
||||
return item -> {
|
||||
if (item.getCategory() != null && item.getCategory().length() > 20) {
|
||||
item.setCategory(item.getCategory().substring(0, 20));
|
||||
}
|
||||
return item;
|
||||
};
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user