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

import org.mohrss.leaf.core.framework.domain.bpo.impl.BPOImpl;
import org.mohrss.leaf.core.framework.persistens.PageResult;
import com.zjrs.zwnw.dbgl.blo.DbrwcxPLO;
import com.zjrs.zwnw.dbgl.bpo.DbrwcxBPO;
import com.zjrs.zwnw.dbgl.dto.DbrwglDbrwQueryDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import jakarta.servlet.http.HttpServletResponse;

@Service
public class DbrwcxBPOimpl extends BPOImpl implements DbrwcxBPO {

    @Autowired
    private DbrwcxPLO dbrwcxPLO;


    @Override
    public PageResult getDbrwList(DbrwglDbrwQueryDTO dto, Integer pagenum, Integer pagesize) {
        return dbrwcxPLO.getDbrwList(dto,pagenum,pagesize);
    }

    @Override
    public void exportDbrwcxList(DbrwglDbrwQueryDTO dto, HttpServletResponse res) {
        dbrwcxPLO.exportDbrwcxList(dto, res);

    }
}
