// === EIP4 P4 脚本迁移产出 === // template_id : 605bdf3a-b970-47b7-8650-2a56ca751b22 // template_name: 批量打印员工档案 // seq : 1 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 def reimbursementlists = getFieldValue("HR_EMPLOYEE_ID_OLD"); def strReimbursement = ""; if(reimbursementlists != null){ reimbursementlists.each{ strReimbursement = strReimbursement + "," + "'" + it + "'"; } strReimbursement = GetValueFunction.replaceFirst(strReimbursement,',',''); bindField("HR_EMPLOYEE_ID",strReimbursement); }