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

import cn.com.victorysoft.business.cyyzs.entity.WellDaily;
import cn.com.victorysoft.business.cyyzs.param.WellDailyParam;
import cn.com.victorysoft.business.cyyzs.service.WellDailyService;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(tags = "单井日报")
@RestController
@RequestMapping("cyyzs/well")
public class WellDailyController {

    @Resource
    private WellDailyService wellDailyService;

    @GetMapping("/page")
    @ApiOperation("查询单井日报")
    public PageInfo<WellDaily> selectList(WellDailyParam param) {
        return wellDailyService.selectList(param);
    }


}
