// === EIP4 P4 脚本迁移产出 === // template_id : aae46962-bf76-455b-8d01-0fa621a6bbd1 // 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("未查询到当前用户的个人档案!"); }