package com.willalp.flow.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.willalp.flow.domain.FileApproval;
import com.willalp.flow.mapper.FileApprovalMapper;
import com.willalp.flow.service.IFileApprovalService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 文件审批业务Service业务层处理
 *
 * @author willalp
 * @date 2022-11-30
 */
@Service
public class FileApprovalServiceImpl extends ServiceImpl<FileApprovalMapper, FileApproval>  implements IFileApprovalService
{
    @Resource
    private FileApprovalMapper fileApprovalMapper;

    /**
     * 查询文件审批业务列表
     *
     * @param fileApproval 文件审批业务
     * @return 文件审批业务
     */
    @Override
    public List<FileApproval> selectFileApprovalList(FileApproval fileApproval)
    {
        return fileApprovalMapper.selectFileApprovalList(fileApproval);
    }
}
