| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package cn.com.goldenwater.dcproj.service.impl.tac;
- import cn.com.goldenwater.core.service.AbstractCrudService;
- import cn.com.goldenwater.dcproj.dao.TacSlbLawIndexDao;
- import cn.com.goldenwater.dcproj.dto.TacSlbLawIndexDto;
- import cn.com.goldenwater.dcproj.model.TacSlbLawIndex;
- import cn.com.goldenwater.dcproj.param.TacSlbLawIndexParam;
- import cn.com.goldenwater.dcproj.service.TacSlbLawIndexService;
- 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-9-25
- */
- @Service
- @Transactional
- public class TacSlbLawIndexServiceImpl extends AbstractCrudService<TacSlbLawIndex, TacSlbLawIndexParam> implements TacSlbLawIndexService {
- @Autowired
- private TacSlbLawIndexDao tacSlbLawIndexDao;
- public TacSlbLawIndexServiceImpl(TacSlbLawIndexDao tacSlbLawIndexDao) {
- super(tacSlbLawIndexDao);
- this.tacSlbLawIndexDao = tacSlbLawIndexDao;
- }
- @Override
- public List<TacSlbLawIndex> findDocs(int bookId, int docId) {
- return tacSlbLawIndexDao.findDocs(bookId,docId);
- }
- @Override
- public List<TacSlbLawIndexDto> findDocs(int bookId) {
- return tacSlbLawIndexDao.findListDocs(bookId);
- }
- }
|