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 implements TacSlbLawIndexService { @Autowired private TacSlbLawIndexDao tacSlbLawIndexDao; public TacSlbLawIndexServiceImpl(TacSlbLawIndexDao tacSlbLawIndexDao) { super(tacSlbLawIndexDao); this.tacSlbLawIndexDao = tacSlbLawIndexDao; } @Override public List findDocs(int bookId, int docId) { return tacSlbLawIndexDao.findDocs(bookId,docId); } @Override public List findDocs(int bookId) { return tacSlbLawIndexDao.findListDocs(bookId); } }