| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- package cn.com.goldenwater.dcproj.service.impl.rdwsp;
- import cn.com.goldenwater.core.service.AbstractCrudService;
- import cn.com.goldenwater.dcproj.constValue.BisInspEnum;
- import cn.com.goldenwater.dcproj.dao.AttCwsBaseDao;
- import cn.com.goldenwater.dcproj.dao.BisBisRdwspRgstrFeeDao;
- import cn.com.goldenwater.dcproj.model.AttCwsBase;
- import cn.com.goldenwater.dcproj.model.BisBisRdwspRgstrFee;
- import cn.com.goldenwater.dcproj.model.BisInspPblm;
- import cn.com.goldenwater.dcproj.param.BisBisRdwspRgstrFeeParam;
- import cn.com.goldenwater.dcproj.param.CwsParam;
- import cn.com.goldenwater.dcproj.param.PlbmParam;
- import cn.com.goldenwater.dcproj.service.BisBisRdwspRgstrFeeService;
- 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 2020-10-9
- */
- @Service
- @Transactional(rollbackFor = Exception.class)
- public class BisBisRdwspRgstrFeeServiceImpl extends AbstractCrudService<BisBisRdwspRgstrFee, BisBisRdwspRgstrFeeParam> implements BisBisRdwspRgstrFeeService {
- @Autowired
- private BisBisRdwspRgstrFeeDao bisBisRdwspRgstrFeeDao;
- @Autowired
- private AttCwsBaseDao attCwsBaseDao;
- public BisBisRdwspRgstrFeeServiceImpl(BisBisRdwspRgstrFeeDao bisBisRdwspRgstrFeeDao) {
- super(bisBisRdwspRgstrFeeDao);
- this.bisBisRdwspRgstrFeeDao = bisBisRdwspRgstrFeeDao;
- }
- @Override
- public PageInfo<AttCwsBase> pageNotDC(CwsParam cwsParam) {
- PageHelper.startPage(cwsParam.getPageNum(), cwsParam.getPageSize());
- cwsParam.setType(BisInspEnum.RDWSP.getValue());
- List<AttCwsBase> bisInspBaseDtos = attCwsBaseDao.queryListByRegstrIdNotDCByType(cwsParam);
- return new PageInfo<>(bisInspBaseDtos);
- }
- @Override
- public PageInfo<BisInspPblm> findPageList(PlbmParam pblmParam) {
- PageHelper.startPage(pblmParam);
- List<BisInspPblm> list = bisBisRdwspRgstrFeeDao.findPageList(pblmParam);
- return new PageInfo<>(list);
- }
- }
|