处理空限制非空问题

This commit is contained in:
zk
2026-07-02 21:31:17 +08:00
parent 86ecb7723e
commit a4c5beaf05
@@ -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);