oms-修改物料不显示total的问题

This commit is contained in:
zhaoqing
2026-05-12 17:50:12 +08:00
parent 3883e2bff5
commit 032acfd468
4 changed files with 18 additions and 3 deletions
@@ -51,6 +51,7 @@ public class MaterialInfoApplicationService {
TableDataInfo tableDataInfo = new TableDataInfo();
tableDataInfo.setData(data);
tableDataInfo.setCode(200);
tableDataInfo.setTotal(data.size());
return tableDataInfo;
}
TableDataInfo tableDataInfo = new TableDataInfo();
@@ -27,7 +27,8 @@ public class MaterialInfoApi extends BaseController {
@GetMapping("/queryList")
public TableDataInfo queryList(MaterialInfoDTO materialInfoDTO){
startPage();
return materialInfoApplicationService.queryList(materialInfoDTO);
TableDataInfo tableDataInfo = materialInfoApplicationService.queryList(materialInfoDTO);
return tableDataInfo;
}
@ApiOperation("批量推送物料")