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

import cn.com.victorysoft.business.cyyzs.dao.LayeredWaterDao;
import cn.com.victorysoft.business.cyyzs.entity.LayeredWater;
import cn.com.victorysoft.business.cyyzs.entity.StaticData;
import cn.com.victorysoft.business.cyyzs.param.LayeredWaterParam;
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 LayeredWaterService {

    @Resource
    private LayeredWaterDao layeredWaterDao;

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

}
