package com.aircraft.modules.article.service.impl;

import com.aircraft.modules.article.domain.CpText;
import com.aircraft.modules.article.mapper.CpTextMapper;
import com.aircraft.modules.article.service.CpTextService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 文章内容表 服务实现类
 * </p>
 *
 * @author cli
 * @since 2025-07-10
 */
@Service
public class CpTextServiceImpl extends ServiceImpl<CpTextMapper, CpText> implements CpTextService {
    @Autowired
    private CpTextMapper cpTextMapper;

    @Override
    public IPage<CpText> findByPage(Page<CpText> page, String keyWord) {
        return cpTextMapper.findByPage(page, keyWord);
    }
}
