Explorar o código

1、解决旧平台意向职位同步bug

rayson hai 9 meses
pai
achega
dbb8027c60

+ 2 - 1
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/old/MdeOldSyncService.java

@@ -1,5 +1,6 @@
 package com.citu.module.menduner.system.old;
 
+import cn.hutool.core.collection.CollUtil;
 import com.citu.framework.common.util.date.DateUtils;
 import com.citu.framework.mybatis.core.query.LambdaQueryWrapperX;
 import com.citu.framework.tenant.core.aop.TenantIgnore;
@@ -203,7 +204,7 @@ public class MdeOldSyncService {
                 interestedAreaIdList.add(oldInterestedAdds.getIntdCity());
             }
 
-            if (null != jobInterested) {
+            if (null != jobInterested&& CollUtil.isNotEmpty(jobInterested.getIndustryIdList())) {
                 interestedAreaIdList.addAll(jobInterested.getIndustryIdList());
             }