package cn.cecep.talroad.controller;

import cn.cecep.talroad.common.core.web.controller.BasesController;
import cn.cecep.talroad.common.core.web.domain.AjaxResults;
import cn.cecep.talroad.domain.BMainPollDisGasWzzTout;
import cn.cecep.talroad.service.BMainPollDisGasWzzToutService;
import cn.cecep.talroad.vo.query.BMainPollDisGasToutQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * * 开发公司：中节能天融科技有限公司
 * 排污许可大气排放总计Controller 控制层
 *
 * @author szhpt
 * @date 2023-01-18*/
@Api(tags = "排污许可--排污许可大气无组织排放总计")
@RestController
@RequestMapping("/BMainPollDisGasWzzTout")
public class BMainPollDisGasWzzToutController extends BasesController
{
    @Autowired
    private BMainPollDisGasWzzToutService bMainPollDisGasWzzToutService;

    /**
     * 查询排污许可大气排放总计列表
     */
    @ApiOperation(value = "查询排污许可大气无组织排放总计")
    @GetMapping("/list")
    public AjaxResults<IPage<BMainPollDisGasWzzTout>> list(BMainPollDisGasToutQuery bMainPollDisGasTout)
    {
        return AjaxResults.success(bMainPollDisGasWzzToutService.pullPage(bMainPollDisGasTout));
    }

}
