1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package cn.chnmuseum.party.service.impl;
import cn.chnmuseum.party.mapper.AssetMapper;
import cn.chnmuseum.party.model.Asset;
import cn.chnmuseum.party.model.TBoxOperation;
import cn.chnmuseum.party.service.AssetService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
/**
* <p>
* 视频 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public class AssetServiceImpl extends ServiceImpl<AssetMapper, Asset> implements AssetService {
@Resource
private AssetMapper assetMapper;
@Override
public Page<Asset> pageByConditions(Page<Object> page, String videoContentCatId, String videoContentCopyrightOwnerId,String nameOrCode) {
return assetMapper.selectPageByConditions(page, videoContentCatId, videoContentCopyrightOwnerId,nameOrCode);
}
@Override
public List<TBoxOperation> listBoxByOrgan() {
return assetMapper.selectBoxListByOrgan();
}
}