岗位限制对象获取
Posted luojiabao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了岗位限制对象获取相关的知识,希望对你有一定的参考价值。
if(jObject.containsKey(CNConsts.posteRstriction))
if(StringUtils.isNotBlank(jObject.getString(CNConsts.posteRstriction)))
String sql = "select fid id from CT_HR_PosteRstriction where fname_l2 =‘"+jObject.getString(CNConsts.posteRstriction)+"‘";
IRowSet rs = DbUtil.executeQuery(ctx, sql);
try
while(rs.next())
String id = rs.getString("id");
if(!StringUtils.isEmpty(id))
CoreBillBaseCustomInfo posteRstrictionInfo = new CoreBillBaseCustomInfo();
posteRstrictionInfo.setId(BOSUuid.read(id));
posteRstrictionInfo.setBOSType(new BOSObjectType("17773787"));
pInfo.put(ENConsts.posteRstriction,posteRstrictionInfo);
catch (Exception e)
e.printStackTrace();
以上是关于岗位限制对象获取的主要内容,如果未能解决你的问题,请参考以下文章