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.DbrwtbPLO;
import com.zjrs.zwnw.dbgl.bpo.DbrwtbBPO;
import com.zjrs.zwnw.dbgl.dto.DbrwglDbrwtbQueryDTO;
import com.zjrs.zwnw.dbgl.dto.DbrwglGzrwtbSaveDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DbrwtbBPOimpl extends BPOImpl implements DbrwtbBPO {

    @Autowired
    private DbrwtbPLO dbrwtbPLO;

    @Override
    public PageResult getDbrwtbList(DbrwglDbrwtbQueryDTO dto, Integer pagenum, Integer pagesize){
        return this.dbrwtbPLO.getDbrwtbList(dto,pagenum,pagesize);
    }
    @Override
    public void saveDbrwtb(DbrwglGzrwtbSaveDTO dto){
        this.dbrwtbPLO.saveDbrwtb(dto);
    }
}
