// === EIP4 P4 脚本迁移产出 === // template_id : a4d12148-c312-431b-a6b6-ba0dd83b9e5b // template_name: 律师函-五建定制 // seq : 3 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 import com.dsasp.server.common.util.EnviromentGet; def businesskey = getFieldValue("LAWTYPE"); def subMap=[:]; subMap["LAWTYPE"] = businesskey; def newformno = EnviromentGet.get(EnviromentGet.AUTOGENERATECODE,"PM_LAWMANAGEMENT","FORMNO",subMap); bindField("FORMNO",newformno);