// === EIP4 P4 脚本迁移产出 === // template_id : 2c672ea6-ee5b-4273-804b-ac0962d1fac7 // template_name: 个人档案 // seq : 1 // label : FULL_AUTO // 处置 : 全自动改写完成,直接入 P4 转换流水线 import com.dsasp.server.common.exception.ValidationException; setGroupReadOnly(true); def user = getFieldValue("USERID"); if(user == null){ throw new ValidationException("未查询到当前用户的个人档案!"); }