package com.zjrs.zwnw.rlzysc.bpo.impl;

import org.mohrss.leaf.core.framework.domain.bpo.impl.BPOImpl;
import org.mohrss.leaf.core.framework.persistens.PageResult;
import com.zjrs.zwnw.rlzysc.blo.YgbaBLO;
import com.zjrs.zwnw.rlzysc.bpo.YgbaBPO;
import com.zjrs.zwnw.rlzysc.dto.*;
import org.springframework.stereotype.Service;

import jakarta.annotation.Resource;
import jakarta.servlet.http.HttpServletResponse;
import java.util.Map;

@Service
public class YgbaBPOImpl extends BPOImpl implements YgbaBPO {

    @Resource
    private YgbaBLO ygbaBLO;

    @Override
    public PageResult ygbaGetYgxxList(YgbaDwxxQueryDTO dto, Integer pagenum, Integer pagesize){
        return ygbaBLO.ygbaGetYgxxList(dto,pagenum,pagesize);
    }
    @Override
    public Map<String, Object> getDwxx(YgbaygCommDTO dto){
        return ygbaBLO.getDwxx(dto);
    }

    @Override
    public PageResult ygbaGetZgmcShList(YgbaYgxxQueryDTO dto, Integer pagenum, Integer pagesize){
        return ygbaBLO.ygbaGetZgmcShList(dto,pagenum,pagesize);
    }
    @Override
    public void ygbaYgxxSh(YgbaygShDTO dto){
        ygbaBLO.ygbaYgxxSh(dto);
    }
    @Override
    public PageResult ygbaGetZgmcCkList(YgbaYgxxQueryDTO dto, Integer pagenum, Integer pagesize){
        return ygbaBLO.ygbaGetZgmcCkList(dto,pagenum,pagesize);
    }
    @Override
    public void ygbaZgmcExport(YgbaYgxxQueryDTO dto, HttpServletResponse res){
        ygbaBLO.ygbaZgmcExport(dto,res);
    }

    @Override
    public void ygbaZgmcQuit(YgbaygQuitDTO dto){
        ygbaBLO.ygbaZgmcQuit(dto);
    }

    @Override
    public PageResult ygbaGetZgmccxList(YgbaZgmcQueryDTO dto){
        return ygbaBLO.ygbaGetZgmccxList(dto);
    }

    @Override
    public void ygbaZgmccxExport(YgbaZgmcQueryDTO dto, HttpServletResponse res){
        ygbaBLO.ygbaZgmccxExport(dto,res);
    }
}
