From 6bb79064a8d717e191ceda7cb2dc1549d3613691 Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期二, 26 八月 2025 13:58:03 +0800 Subject: [PATCH] purchase添加类型 以及新增字典查询方法 --- main-business/src/main/java/com/ruoyi/business/controller/InspectionTaskController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/main-business/src/main/java/com/ruoyi/business/controller/InspectionTaskController.java b/main-business/src/main/java/com/ruoyi/business/controller/InspectionTaskController.java index d085f74..9d092fc 100644 --- a/main-business/src/main/java/com/ruoyi/business/controller/InspectionTaskController.java +++ b/main-business/src/main/java/com/ruoyi/business/controller/InspectionTaskController.java @@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ruoyi.business.dto.InspectionTaskDto; +import com.ruoyi.business.entity.InspectionTask; import com.ruoyi.business.service.InspectionTaskService; import com.ruoyi.common.core.domain.R; import lombok.AllArgsConstructor; @@ -27,7 +28,7 @@ * 宸℃浠诲姟琛ㄨ〃鏌ヨ */ @GetMapping("/list") - public R<IPage<InspectionTaskDto>> list(Page page, InspectionTaskDto inspectionTaskDto) { + public R<IPage<InspectionTaskDto>> list(Page<InspectionTask> page, InspectionTaskDto inspectionTaskDto) { IPage<InspectionTaskDto> list = inspectionTaskService.selectInspectionTaskList(page,inspectionTaskDto); return R.ok(list); } -- Gitblit v1.9.3