package cn.com.victorysoft.business.cyyzs.controller;

import cn.com.victorysoft.business.cyyzs.entity.LayeredWater;
import cn.com.victorysoft.business.cyyzs.param.LayeredWaterParam;
import cn.com.victorysoft.business.cyyzs.service.LayeredWaterService;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@Api(tags = "分层注水评价")
@RestController
@RequestMapping("cyyzs/layer")
public class LayeredWaterController {

    @Resource
    private LayeredWaterService layeredWaterService;

    @GetMapping("/page")
    @ApiOperation("查询分层注水评价")
    public PageInfo<LayeredWater> selectList(LayeredWaterParam param) {
        return layeredWaterService.selectList(param);
    }


}
