金蝶s-HR 8612 电子合同支持外籍员工第三方认证二开说明

栏目:s-hr cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-22浏览:1

金蝶s-HR 8612 电子合同支持外籍员工第三方认证二开说明

金蝶s-HR 8612 电子合同支持外籍员工第三方认证二开说明

【支持版本】

8612及以上

【开发步骤】

1、修改OSFcom.kingdee.shr.econtractservice.osf.GetEContractListService(若不存在该OSF则不需要修改),其中

com.kingdee.shr.econtractservice.osf.GetEContractListService#processContractSignBizBill方法需要在personMapput证件类型

参数:identityType

参数类型:String

参数值:默认为0,为0时会校验18位身份证号格式。0-居民身份证 1-护照 B-港澳居民往来内地通行证 C-台湾居民来往大陆通行证 E-户口簿 F-临时居民身份证

参考接口:

注意:personMap.put("idcard", person.getIdCardNO());中的idcard为身份证号,若为其他证件号,此处value值需要二开做调整重新获取,获取方式从已有表字段或新增二开字段获取等


参考上面方式需要调整以下5方法

com.kingdee.shr.econtractservice.osf.GetEContractListService#processContractSignBizBill

com.kingdee.shr.econtractservice.osf.GetEContractListService#processContractRenewBizBill

com.kingdee.shr.econtractservice.osf.GetEContractListService#processContractPreSignBizBill

com.kingdee.shr.econtractservice.osf.GetEContractListService#processOtherContractSignBizBill

com.kingdee.shr.econtractservice.osf.GetEContractListService#processContractChangeBizBill


2、修改OSFcom.kingdee.shr.elecontract.osf.GetEContractInfoService

其中com.kingdee.shr.elecontract.osf.GetEContractInfoService#processDataFromRenewBillInfo方法需要在personMapput证件类型

参数:identityType

参数类型:String

参数值:默认为0,为0时会校验18位身份证号格式。0-居民身份证 1-护照 B-港澳居民往来内地通行证 C-台湾居民来往大陆通行证 E-户口簿 F-临时居民身份证

参考接口:

注意:personMap.put("idcard", person.getIdCardNO());中的idcard为身份证号,若为其他证件号,此处value值需要二开做调整重新获取,获取方式从已有表字段或新增二开字段获取等


参考上面方式需要调整以下7个方法:

共享领域:

com.kingdee.shr.elecontract.osf.GetEContractInfoService#processDataFromRenewBillInfo

com.kingdee.shr.elecontract.osf.GetEContractInfoService#processDataFromPreSignBillInfo

com.kingdee.shr.elecontract.osf.GetEContractInfoService#processDataFromSignBillInfo

com.kingdee.shr.elecontract.osf.GetEContractInfoService#processDataFromOtherBillInfo

com.kingdee.shr.elecontract.osf.GetEContractInfoService#processDataFromOtherPreSignBillInfo

com.kingdee.shr.elecontract.osf.GetEContractInfoService#processDataFromChangeBillInfo

人事领域:

com.kingdee.shr.elecontract.osf.GetEContractInfoService#processDataFromContractBillMiddleInfo


3、修改OSFcom.kingdee.shr.elecontract.osf.GetEmpEContractListService(若不存在该OSF则不需要修改)

参考以上方式修改以下3个方法:

com.kingdee.shr.elecontract.osf.GetEmpEContractListService

com.kingdee.shr.elecontract.osf.GetEmpEContractListService#processContractPreNewSignBizBill

com.kingdee.shr.elecontract.osf.GetEmpEContractListService#processEmployeeContract


4、修改OSFcom.kingdee.shr.elecontract.osf.ElectronicLaborMobileAuthUrlService

获取identityType然后将该值传给第三方注意此处新增了OSF参数identityType,需要将该OSF扩展,添加OSF扩展配置


金蝶s-HR 8612 电子合同支持外籍员工第三方认证二开说明

金蝶s-HR 8612 电子合同支持外籍员工第三方认证二开说明【支持版本】8612及以上【开发步骤】1、修改OSF:com.kingdee.shr.econtractservi...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息