ce7ebd3ae3e7f225adbe8d68cd9f53b53f894c66.svn-base 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. package cn.com.goldenwater.dcproj.service.impl.base;
  2. import cn.com.goldenwater.dcproj.dao.AttInspTypeDao;
  3. import cn.com.goldenwater.dcproj.model.AttInspType;
  4. import cn.com.goldenwater.dcproj.param.AttInspTypeParam;
  5. import cn.com.goldenwater.dcproj.service.AttInspTypeService;
  6. import cn.com.goldenwater.core.service.AbstractCrudService;
  7. import com.github.pagehelper.PageHelper;
  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-7-19
  15. */
  16. @Service
  17. @Transactional(rollbackFor = Exception.class)
  18. public class AttInspTypeServiceImpl extends AbstractCrudService<AttInspType, AttInspTypeParam> implements AttInspTypeService {
  19. @Autowired
  20. private AttInspTypeDao attInspTypeDao;
  21. public AttInspTypeServiceImpl(AttInspTypeDao attInspTypeDao) {
  22. super(attInspTypeDao);
  23. this.attInspTypeDao = attInspTypeDao;
  24. }
  25. @Override
  26. public int getMaxCode() {
  27. return this.attInspTypeDao.getMaxCode();
  28. }
  29. }