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

import cn.com.victorysoft.business.cyyzs.dao.WellDailyDao;
import cn.com.victorysoft.business.cyyzs.entity.WellDaily;
import cn.com.victorysoft.business.cyyzs.param.WellDailyParam;
import cn.com.victorysoft.business.util.PageUtils;
import com.github.pagehelper.PageInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
public class WellDailyService {

    @Resource
    private WellDailyDao wellDailyDao;

    /**
     * 查询分层注水评价
     */
    public PageInfo<WellDaily> selectList(WellDailyParam param) {
        PageUtils.startPage(param);
        return new PageInfo<>(wellDailyDao.selectList(param));
    }

}
