1b1cc6a8b5a4a2af4b9e71e7737590d670d74577.svn-base 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. package cn.com.goldenwater.dcproj.service.impl.tac;
  2. import cn.com.goldenwater.core.service.AbstractCrudService;
  3. import cn.com.goldenwater.dcproj.dao.TacSlbLawContentDao;
  4. import cn.com.goldenwater.dcproj.model.TacSlbLawContent;
  5. import cn.com.goldenwater.dcproj.param.TacSlbLawContentParam;
  6. import cn.com.goldenwater.dcproj.service.TacSlbLawContentService;
  7. import org.springframework.beans.factory.annotation.Autowired;
  8. import org.springframework.stereotype.Service;
  9. import org.springframework.transaction.annotation.Transactional;
  10. import java.util.List;
  11. /**
  12. * @author lune
  13. * @date 2019-9-25
  14. */
  15. @Service
  16. @Transactional
  17. public class TacSlbLawContentServiceImpl extends AbstractCrudService<TacSlbLawContent, TacSlbLawContentParam> implements TacSlbLawContentService {
  18. @Autowired
  19. private TacSlbLawContentDao tacSlbLawContentDao;
  20. public TacSlbLawContentServiceImpl(TacSlbLawContentDao tacSlbLawContentDao) {
  21. super(tacSlbLawContentDao);
  22. this.tacSlbLawContentDao = tacSlbLawContentDao;
  23. }
  24. @Override
  25. public List<TacSlbLawContent> findChapters(int indexId) {
  26. return tacSlbLawContentDao.findChapters(indexId);
  27. }
  28. }