6f4630d847193c2815720a59182108f438f8bceb.svn-base 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package cn.com.goldenwater.dcproj.service.impl.tac;
  2. import cn.com.goldenwater.core.service.AbstractCrudService;
  3. import cn.com.goldenwater.dcproj.dao.TacSlbLawIndexDao;
  4. import cn.com.goldenwater.dcproj.dto.TacSlbLawIndexDto;
  5. import cn.com.goldenwater.dcproj.model.TacSlbLawIndex;
  6. import cn.com.goldenwater.dcproj.param.TacSlbLawIndexParam;
  7. import cn.com.goldenwater.dcproj.service.TacSlbLawIndexService;
  8. import org.springframework.beans.factory.annotation.Autowired;
  9. import org.springframework.stereotype.Service;
  10. import org.springframework.transaction.annotation.Transactional;
  11. import java.util.List;
  12. /**
  13. * @author lune
  14. * @date 2019-9-25
  15. */
  16. @Service
  17. @Transactional
  18. public class TacSlbLawIndexServiceImpl extends AbstractCrudService<TacSlbLawIndex, TacSlbLawIndexParam> implements TacSlbLawIndexService {
  19. @Autowired
  20. private TacSlbLawIndexDao tacSlbLawIndexDao;
  21. public TacSlbLawIndexServiceImpl(TacSlbLawIndexDao tacSlbLawIndexDao) {
  22. super(tacSlbLawIndexDao);
  23. this.tacSlbLawIndexDao = tacSlbLawIndexDao;
  24. }
  25. @Override
  26. public List<TacSlbLawIndex> findDocs(int bookId, int docId) {
  27. return tacSlbLawIndexDao.findDocs(bookId,docId);
  28. }
  29. @Override
  30. public List<TacSlbLawIndexDto> findDocs(int bookId) {
  31. return tacSlbLawIndexDao.findListDocs(bookId);
  32. }
  33. }