UserModel userModel = new UserModel(); userModel.setName(name); userModel.setGender(gender.intValue()); userModel.setAge(age); userModel.setTelphone(telphone); userModel.setRegisterMode("byphone"); userModel.setEncrptPassword(MD5Encoder.encode(passwrod.getBytes())); 这里的时候就报错;
userModel.setGender(gender.intValue());
是说这句话报错?