package com.jwipc.spe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.spe.entity.QmAuditManage;
import com.jwipc.spe.model.po.QmAuditManagePO;
import com.jwipc.spe.model.query.QmAuditManageQuery;

import java.util.List;

/**
 * <p>
 * 稽核整改主表 服务类
 * </p>
 *
 * @author Al
 * @since 2024-03-19
 */
public interface IQmAuditManageService extends IService<QmAuditManage> {

    List<QmAuditManagePO> findPageByQuery(Page<QmAuditManage> dbPage, QmAuditManageQuery query);

    QmAuditManagePO getDataById(Long id);

    /**
     * 查询待供应商处理的稽核整改单，大于=于5天以上的。
     * @return
     */
    List<QmAuditManagePO> findNoticeQmAuditManageList();
}
