package com.zksy.dispatch.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zksy.dispatch.domain.DisPlanApprovalStep;
import com.zksy.dispatch.dto.DisPlanApprovalStepPageDTO;

import java.util.List;

public interface DisPlanApprovalStepService extends IService<DisPlanApprovalStep> {

    Page<DisPlanApprovalStep> findByPage(DisPlanApprovalStepPageDTO dto);

    /**
     * 根据审批主表ID查询步骤列表
     */
    List<DisPlanApprovalStep> listByApprovalId(Long approvalId);
}
