|
|
@@ -376,7 +376,8 @@ public class BeisenFacadeOSFService implements IHRMsfService {
|
|
|
sql.append(" dip.fnumber dipNumber,dip.fname_l2 dipName, dip.CFBeisenVal dipBeisenVal, ");
|
|
|
sql.append(" p.CFDyxlbyxx dyxlbyxx,p.FWorkLocation workLocation, ");
|
|
|
sql.append(" p.fidcardbegindate idCardbeginDate,p.fidcardenddate idCardendDate, ");
|
|
|
- sql.append(" p.FHeight height, (case when (isnull(p.fgender,3)-1)>0 then (isnull(p.fgender,3)-1) else 1 end) gender, ");
|
|
|
+
|
|
|
+ sql.append(" p.FHeight height, (case when (isnull(p.fgender,3)-1)>=0 then (isnull(p.fgender,3)-1) else 2 end) gender, ");
|
|
|
sql.append(" isnull(p.fidcardno,p.fpassportno) idCardNO, (case when p.fidcardno is null then 2 else 1 end) isIdCard, ");
|
|
|
sql.append(" prm.femail email,prm.FLinkTelNum linkTelNum, ");
|
|
|
sql.append(" p.FIDCardIssueOrg idCardIssueOrg,rbe.FDescription description, ");
|
|
|
@@ -418,7 +419,9 @@ public class BeisenFacadeOSFService implements IHRMsfService {
|
|
|
standardResume.put("personProfile", personProfile);
|
|
|
//现居住地址(可邮寄{"code":400,"data":"00000000-0000-0000-0000-000000000000","message":"值不在数据源的范围内,字段名:Gender,值:-1"}
|
|
|
String address = rowSet.getString("address");
|
|
|
- personProfile.put("extxianjuzhudizhikeyouji_433899_1099396040", this.setValue(address));
|
|
|
+ if (StringUtils.isNotBlank(address)) {
|
|
|
+ personProfile.put("extxianjuzhudizhikeyouji_614492_1099396040", this.setValue(address));
|
|
|
+ }
|
|
|
|
|
|
//addressTX 通信地址 现居住地 OgLivingArea
|
|
|
//personProfile.put("OgLivingArea", this.setValue(address));
|
|
|
@@ -434,7 +437,7 @@ public class BeisenFacadeOSFService implements IHRMsfService {
|
|
|
String wedNumber = rowSet.getString("wedNumber");
|
|
|
String wedBeisenVal = rowSet.getString("wedBeisenVal");
|
|
|
if (StringUtils.isNotBlank(wedBeisenVal)) {
|
|
|
- personProfile.put("exthunyinzhuangkuang_433899_1285520393", this.setValue(wedBeisenVal));
|
|
|
+ personProfile.put("exthunyinzhuangkuang_614492_1285520393", this.setValue(wedBeisenVal));
|
|
|
}
|
|
|
|
|
|
//政治面貌
|
|
|
@@ -612,7 +615,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 = 0 and FNumber='离职人才库' ");
|
|
|
+ IRowSet rowSet = DbUtil.executeQuery(ctx, "select top 1 cftalentPoolId,cftalentPoolType from CT_REC_BeisenTalentPool where cfstdIsDeleted='0' and cfisLieftTalentPool = 1 and FNumber='离职人才库' ");
|
|
|
if (rowSet.next()) {
|
|
|
String talentPoolId = rowSet.getString("cftalentPoolId");
|
|
|
String talentPoolType = rowSet.getString("cftalentPoolType");
|