diff --git a/manager/src/main/java/org/jiayunet/service/UserProfileAnalyzeService.java b/manager/src/main/java/org/jiayunet/service/UserProfileAnalyzeService.java index aa3c536..80737cc 100644 --- a/manager/src/main/java/org/jiayunet/service/UserProfileAnalyzeService.java +++ b/manager/src/main/java/org/jiayunet/service/UserProfileAnalyzeService.java @@ -386,6 +386,9 @@ public class UserProfileAnalyzeService { if (po == null) { po = new UserJobIntention(); po.setUserId(userId); + po.setCategoryIds(java.util.Collections.emptyList()); + po.setRegionCodes(java.util.Collections.emptyList()); + po.setIndustryIds(java.util.Collections.emptyList()); po.setAiCategoryIds(categoryIds); po.setCreateTime(now); po.setUpdateTime(now); @@ -407,6 +410,9 @@ public class UserProfileAnalyzeService { if (po == null) { po = new UserJobIntention(); po.setUserId(userId); + po.setCategoryIds(java.util.Collections.emptyList()); + po.setRegionCodes(java.util.Collections.emptyList()); + po.setIndustryIds(java.util.Collections.emptyList()); po.setAiIndustryIds(industryIds); po.setCreateTime(now); po.setUpdateTime(now);