mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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 com.panzhihua.service_community.service.impl;
 
import javax.annotation.Resource;
 
import com.panzhihua.common.model.vos.community.ComActPictureLibraryVO;
import org.springframework.stereotype.Service;
 
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_community.dao.ComActPictureLibraryDAO;
import com.panzhihua.service_community.service.ComActPictureLibraryService;
 
/**
 * @title: ComActPictureLibraryServiceImpl
 * @projectName: 成都呐喊信息技术有限公司-智慧社区项目
 * @description: 公共预设图库服务实现类
 * @author: hans
 * @date: 2021/11/23 17:03
 */
@Service
public class ComActPictureLibraryServiceImpl implements ComActPictureLibraryService {
 
    @Resource
    private ComActPictureLibraryDAO comActPictureLibraryDAO;
 
 
    /**
     * 获取预设图库
     * @param type
     * @param subtype
     * @return
     */
    @Override
    public R getPresetPictureLibrary(Integer type, Integer subtype) {
        ComActPictureLibraryVO libraryVO = new ComActPictureLibraryVO();
        libraryVO.setPresetPictures(comActPictureLibraryDAO.getPresetPictureLibrary(type, subtype));
        return R.ok(libraryVO);
    }
}