1 changed files with 0 additions and 30 deletions
@ -1,30 +0,0 @@ |
|||||
package org.dromara.sample.dubbo; |
|
||||
|
|
||||
import lombok.RequiredArgsConstructor; |
|
||||
import org.apache.dubbo.config.annotation.DubboService; |
|
||||
import org.dromara.common.core.utils.MapstructUtils; |
|
||||
import org.dromara.sample.api.RemoteJobService; |
|
||||
import org.dromara.sample.api.domain.vo.RemoteMediaFileVo; |
|
||||
import org.dromara.sample.media.model.MediaFileEntity; |
|
||||
import org.dromara.sample.media.service.IFileService; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @auther yq |
|
||||
* @data 2025/3/30 |
|
||||
*/ |
|
||||
@RequiredArgsConstructor |
|
||||
@Service |
|
||||
@DubboService |
|
||||
public class RemoteJobServiceImpl implements RemoteJobService { |
|
||||
private final IFileService fileService; |
|
||||
|
|
||||
@Override |
|
||||
public List<RemoteMediaFileVo> getRemoteMediaFileVo(String jobId, String fileType) { |
|
||||
List<MediaFileEntity> remoteMediaFileVo = fileService.getRemoteMediaFileVo(jobId, fileType); |
|
||||
List<RemoteMediaFileVo> mediaFileEntities = MapstructUtils.convert(remoteMediaFileVo, RemoteMediaFileVo.class); |
|
||||
return mediaFileEntities; |
|
||||
} |
|
||||
} |
|
Loading…
Reference in new issue