// === EIP4 P4 脚本迁移产出 === // template_id : 95a0c220-8dc8-4556-a7ad-5a71d4aaf022 // template_name: 付款申请单(批量打印) // seq : 1 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 def paymentlists = getFieldValue("PM_PAYMENTAPPLY_ID_OLD"); def strPayment = ""; if(paymentlists != null){ paymentlists.each{ strPayment = strPayment + "," + "'" + it + "'"; } strPayment = GetValueFunction.replaceFirst(strPayment,',',''); bindField("PM_PAYMENTAPPLY_ID",strPayment); }