package com.jwipc.spe.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.spe.entity.QmAuditManage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.spe.entity.QmNoticeOrder;
import com.jwipc.spe.model.po.QmAuditManagePO;
import com.jwipc.spe.model.po.QmNoticeOrderPO;
import com.jwipc.spe.model.query.QmAuditManageQuery;
import com.jwipc.spe.model.query.QmNoticeOrderQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 稽核整改主表 Mapper 接口
 * </p>
 *
 * @author Al
 * @since 2024-03-19
 */
public interface QmAuditManageMapper extends BaseMapper<QmAuditManage> {

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

    QmAuditManagePO getDataById(@Param("id") Long id);
    List<QmAuditManagePO> findNoticeQmAuditManageList();
}
