mitao
2024-05-20 3eaebb9f6c5ed23d3a9a5c644228452f890fb4dd
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
package com.ruoyi.goods.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.utils.page.BeanUtils;
import com.ruoyi.goods.domain.pojo.GoodsCategory;
import com.ruoyi.goods.domain.vo.GoodsCategoryVO;
import com.ruoyi.goods.mapper.GoodsCategoryMapper;
import com.ruoyi.goods.service.IGoodsCategoryService;
import java.util.List;
import org.springframework.stereotype.Service;
 
/**
 * <p>
 * 商品分类表 服务实现类
 * </p>
 *
 * @author mitao
 * @since 2024-05-16
 */
@Service
public class GoodsCategoryServiceImpl extends ServiceImpl<GoodsCategoryMapper, GoodsCategory> implements IGoodsCategoryService {
 
    @Override
    public List<GoodsCategoryVO> getGoodsCategoryList() {
        return BeanUtils.copyList(this.list(), GoodsCategoryVO.class);
    }
}