敏捷工具
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

package com.whn.hellospring.service;
import com.whn.hellospring.model.VersionDO;
import com.whn.hellospring.repository.AppRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class AppService {
@Autowired
AppRepository repository;
/**
* 获取版本列表
*/
public List<VersionDO> getVersion(int equipment) {
List<VersionDO> versionDOList = repository.findByEquipment(equipment);
return versionDOList;
}
}