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

import cn.com.victorysoft.business.cyyzs.entity.StaticData;
import cn.com.victorysoft.business.cyyzs.param.StaticDataParam;
import cn.com.victorysoft.business.cyyzs.service.StaticDataService;
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 StaticDataService staticDataService;

    @GetMapping("/index")
    @ApiOperation("查询分层注水评价")
    public PageInfo<StaticData> selectList(StaticDataParam param) {
        return staticDataService.selectList(param);
    }


}
