// === EIP4 P4 脚本迁移产出 === // template_id : fa9a2957-bea1-4d6e-8db5-1541c5196987 // template_name: 律师函 // seq : 2 // 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);