处理空限制非空问题
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user