package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.domain.RiskMaterial;
import com.ruoyi.system.domain.RiskProject;
import com.ruoyi.system.domain.RiskReport;
import com.ruoyi.system.domain.RiskWorkbenchSummary;
import com.ruoyi.system.mapper.RiskWorkbenchMapper;
import com.ruoyi.system.service.IRiskWorkbenchService;

/**
 * 评估师工作台服务实现
 */
@Service
public class RiskWorkbenchServiceImpl implements IRiskWorkbenchService
{
    @Autowired
    private RiskWorkbenchMapper riskWorkbenchMapper;

    @Override
    public RiskWorkbenchSummary selectSummary()
    {
        return riskWorkbenchMapper.selectSummary();
    }

    @Override
    public List<RiskProject> selectDueSoonProjects()
    {
        return riskWorkbenchMapper.selectDueSoonProjects();
    }

    @Override
    public List<RiskReport> selectPendingReports()
    {
        return riskWorkbenchMapper.selectPendingReports();
    }

    @Override
    public List<RiskMaterial> selectPendingMaterials()
    {
        return riskWorkbenchMapper.selectPendingMaterials();
    }
}
