|
|
|
@@ -128,6 +128,11 @@ public class ServiceServiceImpl implements ServiceService { |
|
|
|
|
|
|
|
@Override |
|
|
|
public com.ruoyi.platform.domain.Service getService(Long id) { |
|
|
|
com.ruoyi.platform.domain.Service service = serviceDao.getServiceById(id); |
|
|
|
|
|
|
|
ServiceVersion serviceVersion = new ServiceVersion(); |
|
|
|
serviceVersion.setServiceId(id); |
|
|
|
service.setVersionCount(serviceDao.countServiceVersion(serviceVersion)); |
|
|
|
return serviceDao.getServiceById(id); |
|
|
|
} |
|
|
|
|
|
|
|
|