| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- package cn.com.goldenwater.dcproj.service.impl.rsvr;
- import cn.com.goldenwater.dcproj.dao.BisInspPreListDao;
- import cn.com.goldenwater.dcproj.model.BisInspPreList;
- import cn.com.goldenwater.dcproj.param.BisInspPreListParam;
- import cn.com.goldenwater.dcproj.service.BisInspPreListService;
- import cn.com.goldenwater.core.service.AbstractCrudService;
- import com.github.pagehelper.PageHelper;
- import com.github.pagehelper.PageInfo;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import org.springframework.transaction.annotation.Transactional;
- import java.util.List;
- /**
- * @author lune
- * @date 2019-2-18
- */
- @Service
- @Transactional
- public class BisInspPreListServiceImpl extends AbstractCrudService<BisInspPreList, BisInspPreListParam> implements BisInspPreListService {
- @Autowired
- private BisInspPreListDao bisInspPreListDao;
- public BisInspPreListServiceImpl(BisInspPreListDao bisInspPreListDao) {
- super(bisInspPreListDao);
- this.bisInspPreListDao = bisInspPreListDao;
- }
- @Override
- public PageInfo<BisInspPreList> findAlPageInfo(BisInspPreListParam inspPreListParam) {
- PageHelper.startPage(inspPreListParam);
- List<BisInspPreList> list = this.bisInspPreListDao.findAlListInfo(inspPreListParam);
- PageInfo<BisInspPreList> pageInfo = new PageInfo(list);
- return pageInfo;
- }
- }
|