|
|
@@ -54,9 +54,9 @@ public class AppUpgradeStatusController extends BaseController{
|
|
|
* 升级状态查询-详情
|
|
|
*/
|
|
|
@GetMapping("/detail")
|
|
|
- public AjaxResult detail(String id, String orgName, Integer status){
|
|
|
- List<BatchHostInfo> batchHosts = upgradeBatchInfoService.getBatchHosts(id,orgName,status);
|
|
|
- return AjaxResult.success(batchHosts);
|
|
|
+ public TableDataInfo detail(Page<BatchHostInfo> page,String id, String orgName, Integer status){
|
|
|
+ IPage<BatchHostInfo> batchHosts = upgradeBatchInfoService.selectBatchHostsPage(page,id,orgName,status);
|
|
|
+ return getDataTable(batchHosts);
|
|
|
}
|
|
|
/**
|
|
|
* 升级状态查询-详情下的二级详情
|
|
|
@@ -95,7 +95,7 @@ public class AppUpgradeStatusController extends BaseController{
|
|
|
Page<HostInfo> page = new Page<>();
|
|
|
page.setSize(5000);
|
|
|
page.setCurrent(1);
|
|
|
- List<BatchHostInfo> list = upgradeBatchInfoService.getBatchHosts(id,orgName,status);
|
|
|
+ List<BatchHostInfo> list = upgradeBatchInfoService.getBatchHostsExport(id,orgName,status);
|
|
|
Label label = null;
|
|
|
WritableSheet sheet = null;
|
|
|
WritableWorkbook workBook = null;
|