| | |
| | | import com.rongyichuang.user.service.UserService; |
| | | import com.rongyichuang.media.service.MediaV2Service; |
| | | import com.rongyichuang.media.dto.MediaSaveInput; |
| | | import com.rongyichuang.message.service.MessageService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | |
| | | @Autowired |
| | | private MediaV2Service mediaV2Service; |
| | | |
| | | @Autowired |
| | | private MessageService messageService; |
| | | |
| | | |
| | | |
| | |
| | | activityPlayer.setFeedback(feedback); |
| | | activityPlayerRepository.save(activityPlayer); |
| | | |
| | | // 创建审核通过消息 |
| | | messageService.createApprovalMessage( |
| | | activityPlayerId, |
| | | activityPlayer.getPlayerId(), |
| | | activityPlayer.getProjectName() |
| | | ); |
| | | |
| | | log.info("审核通过成功,activityPlayerId: {}", activityPlayerId); |
| | | return true; |
| | | } catch (Exception e) { |
| | |
| | | activityPlayer.setFeedback(feedback); |
| | | activityPlayerRepository.save(activityPlayer); |
| | | |
| | | // 创建审核驳回消息 |
| | | messageService.createRejectionMessage( |
| | | activityPlayerId, |
| | | activityPlayer.getPlayerId(), |
| | | activityPlayer.getProjectName() |
| | | ); |
| | | |
| | | log.info("审核驳回成功,activityPlayerId: {}", activityPlayerId); |
| | | return true; |
| | | } catch (Exception e) { |