diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/controller/BPlanEnterpriseController.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/controller/BPlanEnterpriseController.java index 26c3817..e7a6298 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/controller/BPlanEnterpriseController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/controller/BPlanEnterpriseController.java @@ -56,9 +56,10 @@ public class BPlanEnterpriseController extends BaseController { */ @ApiOperation(value = "查询计划企业列表", response = BPlanEnterpriseResponse.class) @GetMapping("/list") - public AjaxResult list(BPlanEnterprise bPlanEnterprise) { + public TableDataInfo list(BPlanEnterprise bPlanEnterprise) { + startPage(); List list = bPlanEnterpriseService.selectBPlanEnterpriseList(bPlanEnterprise); - return AjaxResult.success(list); + return getDataTable(list); } /**