// === EIP4 P4 脚本迁移产出 === // template_id : c3d10a37-a373-4a1e-9c4f-b6e66672547c // template_name: 安全日志-审批 // seq : 2 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 def list = new DateTime[2]; def currentDate= GetDefaultValueFunction.currentDate(); list[0] = GetValueFunction.addMonths(currentDate,-1);//一个月 list[1] =GetValueFunction.addDays(currentDate,1);; bindField("DIARYDATE",list);