新增根据UUID下载

master
anthonyywj2 2 years ago
parent ba05613dbb
commit 91d0fa441d

@ -129,6 +129,13 @@ public class UdidlDeviceController {
return deviceSyncService.searchDlByDi(deviceId);
}
@AuthRuleAnnotation("udidl_udidlByUuid_all")
@GetMapping("udidl/device/searchDlByUuid")
public BaseResponse searchDlByUuid(String uuid) {
return deviceSyncService.searchDlByUuid(uuid);
}
/**
*
*

@ -178,6 +178,14 @@ public class DeviceSyncService {
return ResultVOUtils.success(productInfoEntityList);
}
public BaseResponse searchDlByUuid(String uuid) {
ProductInfoFilterRequest productInfoFilterRequest = new ProductInfoFilterRequest();
productInfoFilterRequest.setUuid(uuid);
List<ProductInfoEntity> productInfoEntityList = productInfoService.findAll(productInfoFilterRequest);
return ResultVOUtils.success(productInfoEntityList);
}
public void dlHistory(DataSetSingleResult result1) {
DataSetSingleHistoryResult result = new DataSetSingleHistoryResult();

Loading…
Cancel
Save