码迷,mamicode.com
首页 > 其他好文 > 详细

岗位限制对象获取

时间:2019-08-15 17:30:55      阅读:97      评论:0      收藏:0      [点我收藏+]

标签:exe   post   util   print   row   llb   base   限制   string   

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();
}

}
}

岗位限制对象获取

标签:exe   post   util   print   row   llb   base   限制   string   

原文地址:https://www.cnblogs.com/luojiabao/p/11359105.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!