请假单如何走员工借调职位?

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

请假单如何走员工借调职位?

解决方案:

【适用版本】

通用

【分析处理】

//请假单优先获取借调职位,没有则获取主要职位, 输出变量 positionid

StringBuffer tStrSql = new StringBuffer();  

tStrSql.append("select FPOSITIONID from t_hr_emporgrelation where fleffdt={ts '2199-12-31'} and fpersonid='"+AtsLeaveBill.entries.person.id +"' and FASSIGNTYPE =0 and FActionTypeID='U9MVG8uaQ4+fd3Dl47OrlZYRae4='");

com.kingdee.jdbc.rowset.IRowSet rowSet = com.kingdee.eas.util.app.DbUtil.executeQuery(__bosContext,tStrSql.toString());

if(rowSet!=null)

{

 while(rowSet.next()){

 positionid= rowSet.getString(1);

 }}else{

 positionid= AtsLeaveBill.entries.position.id;

}


请假单如何走员工借调职位?

解决方案:【适用版本】通用【分析处理】//请假单优先获取借调职位,没有则获取主要职位, 输出变量 positionidStringBuffer tStrSql =...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息