LightStripDevLogServiceImpl.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.welampiot.service.impl;
  2. import com.welampiot.dao.LightStripDevLogDao;
  3. import com.welampiot.dto.LightStripDevLogDTO;
  4. import com.welampiot.service.LightStripDevLogService;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.stereotype.Service;
  7. import java.util.List;
  8. /**
  9. * ClassName: LightStripDevLogServiceImpl
  10. * Package: com.welampiot.service.impl
  11. * Description:
  12. *
  13. * @Author: zhj_Start
  14. * @Create: 2023/5/6 - 14:07
  15. * @Version: v1.0
  16. */
  17. @Service
  18. public class LightStripDevLogServiceImpl implements LightStripDevLogService {
  19. @Autowired
  20. private LightStripDevLogDao lightStripDevLogDao;
  21. @Override
  22. public List<LightStripDevLogDTO> getStatisticsInfoByDTO(LightStripDevLogDTO dto) {
  23. return lightStripDevLogDao.getStatisticsInfoByDTO(dto);
  24. }
  25. @Override
  26. public Integer getTimezoneByLightStripDevId(Integer id) {
  27. return lightStripDevLogDao.getTimezoneByLightStripDevId(id);
  28. }
  29. @Override
  30. public void deleteLightStripLogDataByStripId(Integer devId) {
  31. lightStripDevLogDao.deleteLightStripLogDataByStripId(devId);
  32. }
  33. }