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.JgxxwhPLO;
import com.zjrs.zwnw.dbgl.bpo.JgxxwhBPO;
import com.zjrs.zwnw.dbgl.dto.DbrwglCommDTO;
import com.zjrs.zwnw.dbgl.dto.DbrwglJgxxwhQueryDTO;
import com.zjrs.zwnw.dbgl.dto.DbrwglJgxxwhUDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class JgxxwhBPOimpl extends BPOImpl implements JgxxwhBPO {

    @Autowired
    private JgxxwhPLO jgxxwhPLO;

    @Override
    public PageResult getJgxxwhList(DbrwglJgxxwhQueryDTO dto, Integer pagenum, Integer pagesize){
        return this.jgxxwhPLO.getJgxxwhList(dto,pagenum,pagesize);
    }

    @Override
    public Map<String, Object> getJgxxwh(DbrwglCommDTO dto){
        return this.jgxxwhPLO.getJgxxwh(dto);
    }

    @Override
    public void saveJgxxwh(DbrwglJgxxwhUDTO dto){
        this.jgxxwhPLO.saveJgxxwh(dto);
    }

}
