| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package cn.com.goldenwater.dcproj.service.impl.vill2020;
- import cn.com.goldenwater.core.service.AbstractCrudService;
- import cn.com.goldenwater.dcproj.dao.AttCwsBaseDao;
- import cn.com.goldenwater.dcproj.dao.BisNewCountryFeeDao;
- import cn.com.goldenwater.dcproj.model.AttCwsBase;
- import cn.com.goldenwater.dcproj.model.BisNewCountryFee;
- import cn.com.goldenwater.dcproj.param.BisNewCountryFeeParam;
- import cn.com.goldenwater.dcproj.param.CwsParam;
- import cn.com.goldenwater.dcproj.service.BisNewCountryFeeService;
- import cn.com.goldenwater.dcproj.utils.InspUtils;
- 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-3-27
- */
- @Service
- @Transactional
- public class BisNewCountryFeeServiceImpl extends AbstractCrudService<BisNewCountryFee, BisNewCountryFeeParam> implements BisNewCountryFeeService {
- @Autowired
- private BisNewCountryFeeDao bisNewCountryFeeDao;
- @Autowired
- private AttCwsBaseDao attCwsBaseDao;
- public BisNewCountryFeeServiceImpl(BisNewCountryFeeDao bisNewCountryFeeDao) {
- super(bisNewCountryFeeDao);
- this.bisNewCountryFeeDao = bisNewCountryFeeDao;
- }
- @Override
- public PageInfo<AttCwsBase> pageNotDC(CwsParam cwsParam) {
- PageHelper.startPage(cwsParam.getPageNum(), cwsParam.getPageSize());
- String engStat = InspUtils.setOrgIds(cwsParam.getEngStat());
- cwsParam.setEngStat(engStat);
- List<AttCwsBase> bisInspBaseDtos = attCwsBaseDao.queryListByRegstrIdNotDC(cwsParam);
- PageInfo page = new PageInfo(bisInspBaseDtos);
- return page;
- }
- }
|