MqEcsServiceImpl.java 616 B

12345678910111213141516171819202122232425262728
  1. package com.fdkankan.log.service.impl;
  2. import com.fdkankan.log.entity.MqEcs;
  3. import com.fdkankan.log.mapper.IMqEcsMapper;
  4. import com.fdkankan.log.service.IMqEcsService;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.stereotype.Service;
  7. import java.util.List;
  8. /**
  9. * <p>
  10. * 服务实现类
  11. * </p>
  12. *
  13. * @author
  14. * @since 2024-03-07
  15. */
  16. @Service
  17. public class MqEcsServiceImpl implements IMqEcsService {
  18. @Autowired
  19. IMqEcsMapper mqEcsMapper;
  20. @Override
  21. public List<MqEcs> getByEcs(String hostName) {
  22. return mqEcsMapper.getByEcs(hostName);
  23. }
  24. }