package com.ichangzuo.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ichangzuo.system.mapper.FontMapper;
import com.ichangzuo.system.model.entity.Font;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FontServiceImpl extends ServiceImpl<FontMapper, Font> {
    @Override
    public List<Font> list(){
        return list(new LambdaQueryWrapper<Font>().eq(Font::getState, 1));
    }
}
