コード例 #1
0
 @Transactional(readOnly = false)
 public void deleteUserRequest(Long requestId) {
   UserRequest userRequest = userRepository.loadUserRequestById(requestId);
   if (userRequest != null) {
     logger.info("Deleting " + userRequest);
     userRepository.deleteUserRequest(userRequest);
   }
 }
コード例 #2
0
 public UserRequest getUserRequestById(Long requestId) {
   return userRepository.loadUserRequestById(requestId);
 }