敏捷工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
568 B

2 years ago
  1. package com.whn.hellospring.service;
  2. import com.whn.hellospring.model.VersionDO;
  3. import com.whn.hellospring.repository.AppRepository;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.stereotype.Service;
  6. import java.util.List;
  7. @Service
  8. public class AppService {
  9. @Autowired
  10. AppRepository repository;
  11. /**
  12. * 获取版本列表
  13. */
  14. public List<VersionDO> getVersion(int equipment) {
  15. List<VersionDO> versionDOList = repository.findByEquipment(equipment);
  16. return versionDOList;
  17. }
  18. }