### Question:
UserServiceImpl implements UserService { @Override @Transactional(rollbackFor = Exception.class) public ServiceResult<UserDTO> saveUser(UserParameter userParameter) { UserDO userDO = BeanUtil.convertIgnoreNullProperty(userParameter, UserDO.class); int counts = userDAO.insertUserDO(userDO); if (counts == 1 && userDO.getId() != null) { UserDTO userDTOFound = BeanUtil.convertIgnoreNullProperty(userDO, UserDTO.class); return new ServiceResult<UserDTO>(ResultStatusEnum.SUCCESS, userDTOFound); } return new ServiceResult<UserDTO>(ResultStatusEnum.FAILURE); }  @Override ServiceResult<UserDTO> findByUserName(UserParameter userParameter); @Override @Transactional(rollbackFor = Exception.class) ServiceResult<UserDTO> saveUser(UserParameter userParameter); @Override @Transactional(rollbackFor = Exception.class) ServiceResult<Boolean> saveUserList(UserListParameter userListParameter);  }### Answer:
@Test public void saveUserTest(){ UserDTO userDTO=new UserDTO().setUserName("Song").setMobileNo("13094805984").setSalt("XREybXwZ").setPassword("123456").setEmail("123@qq.com").setRealName("丹尼胡").setIdCardNo("130732199202103227"); ServiceResult<UserDTO> result=userService.saveUser(BeanUtil.convertIgnoreNullProperty(userDTO, UserParameter.class)); System.out.println(JSON.toJSONString(result)); }