package cn.com.goldenwater.dcproj.service.impl.base; import cn.com.goldenwater.dcproj.dao.AttInspTypeDao; import cn.com.goldenwater.dcproj.model.AttInspType; import cn.com.goldenwater.dcproj.param.AttInspTypeParam; import cn.com.goldenwater.dcproj.service.AttInspTypeService; import cn.com.goldenwater.core.service.AbstractCrudService; import com.github.pagehelper.PageHelper; 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-7-19 */ @Service @Transactional(rollbackFor = Exception.class) public class AttInspTypeServiceImpl extends AbstractCrudService implements AttInspTypeService { @Autowired private AttInspTypeDao attInspTypeDao; public AttInspTypeServiceImpl(AttInspTypeDao attInspTypeDao) { super(attInspTypeDao); this.attInspTypeDao = attInspTypeDao; } @Override public int getMaxCode() { return this.attInspTypeDao.getMaxCode(); } }