Procházet zdrojové kódy

Revert "修改离职字段同步"

This reverts commit 71a9100a7c6e2025ea0d1b1b66ab5d400b3940a0.
9060 před 1 týdnem
rodič
revize
5258ac132b

+ 6 - 9
websrc/com/kingdee/eas/custom/recuritment/task/osf/BeisenFacadeOSFService.java

@@ -417,11 +417,8 @@ public class BeisenFacadeOSFService implements IHRMsfService {
             Map<String, Object> personProfile = Maps.newHashMap();
             standardResume.put("personProfile", personProfile);
             //现居住地址(可邮寄{"code":400,"data":"00000000-0000-0000-0000-000000000000","message":"值不在数据源的范围内,字段名:Gender,值:-1"}
-//            String address = rowSet.getString("address");
-//            if (StringUtils.isNotBlank(address)) {
-//
-//                personProfile.put("extxianjuzhudizhikeyouji_433899_1099396040", this.setValue(address));
-//            }
+            String address = rowSet.getString("address");
+            personProfile.put("extxianjuzhudizhikeyouji_433899_1099396040", this.setValue(address));
 
             //addressTX	通信地址	现居住地	OgLivingArea
             //personProfile.put("OgLivingArea", this.setValue(address));
@@ -436,9 +433,9 @@ public class BeisenFacadeOSFService implements IHRMsfService {
             String wedName = rowSet.getString("wedName");
             String wedNumber = rowSet.getString("wedNumber");
             String wedBeisenVal = rowSet.getString("wedBeisenVal");
-//            if (StringUtils.isNotBlank(wedBeisenVal)) {
-//                personProfile.put("exthunyinzhuangkuang_433899_1285520393", this.setValue(wedBeisenVal));
-//            }
+            if (StringUtils.isNotBlank(wedBeisenVal)) {
+                personProfile.put("exthunyinzhuangkuang_433899_1285520393", this.setValue(wedBeisenVal));
+            }
 
             //政治面貌
             String poliName = rowSet.getString("poliName");
@@ -615,7 +612,7 @@ public class BeisenFacadeOSFService implements IHRMsfService {
 
     protected Map<String, String> getBeisenTalentPool(Context ctx) throws BOSException, SQLException {
         Map<String, String> map = Maps.newHashMap();
-        IRowSet rowSet = DbUtil.executeQuery(ctx, "select top 1 cftalentPoolId,cftalentPoolType from CT_REC_BeisenTalentPool where cfstdIsDeleted='0' and cfisLieftTalentPool = 1 and FNumber='离职人才库' ");
+        IRowSet rowSet = DbUtil.executeQuery(ctx, "select top 1 cftalentPoolId,cftalentPoolType from CT_REC_BeisenTalentPool where cfstdIsDeleted='0' and cfisLieftTalentPool = 0 and FNumber='离职人才库' ");
         if (rowSet.next()) {
             String talentPoolId = rowSet.getString("cftalentPoolId");
             String talentPoolType = rowSet.getString("cftalentPoolType");