// === EIP4 P4 脚本迁移产出 === // template_id : 8e0c3b85-9c29-40bf-b7d4-c636b9f6cc41 // template_name: 实名制考勤管理人员考勤表(定制) // seq : 2 // label : FULL_AUTO // 处置 : 全自动改写完成,直接入 P4 转换流水线 import com.dsasp.server.common.dataDic.bean.CustomSearchConditional; def orgId = getFieldValue("ORGID"); def searchMap = [:]; def sql = ""; if(orgId != null && orgId != '') { sql += " p.filiale = '" + orgId + "' and p.projectcode <> '' and p.projectcode in (select prjnumber from gb_projectinfo a where a.isactive = 1)"; searchMap["PM_PROJECT_ID"] = new CustomSearchConditional(sql); setFieldFilter("PROJECTID", searchMap); }