// === EIP4 P4 脚本迁移产出 === // template_id : 432c4b6d-6e90-4e3a-bc63-de429678aa61 // template_name: 全费用承包项目与与合同关联 // seq : 2 // label : FULL_AUTO // 处置 : 全自动改写完成,直接入 P4 转换流水线 import com.dsasp.server.common.dataDic.bean.CustomSearchConditional; //组合查询条(排除集中合同,只取劳务合同和专业分包合同) def strSql = " P.pm_project_id is not null AND P.contracttype in (1,2)"; def conditions = new CustomSearchConditional(strSql);//条件 def searchmap = ["VIEW_PM_SUBCONTRACT_ID":conditions]; setFieldFilter("SUBCONTRACTID", searchmap);