From 26b0705e1cb2b9ad6c3eb02df334866d41119411 Mon Sep 17 00:00:00 2001 From: lhx Date: Wed, 12 Nov 2025 16:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E8=8E=B7=E5=8F=96=E8=AF=95?= =?UTF-8?q?=E9=AA=8C=E5=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LaboratoryBigScreenController.java | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/main/java/com/dc/dc_project/controller/bigScreen/LaboratoryBigScreenController.java diff --git a/src/main/java/com/dc/dc_project/controller/bigScreen/LaboratoryBigScreenController.java b/src/main/java/com/dc/dc_project/controller/bigScreen/LaboratoryBigScreenController.java new file mode 100644 index 0000000..13b3ac0 --- /dev/null +++ b/src/main/java/com/dc/dc_project/controller/bigScreen/LaboratoryBigScreenController.java @@ -0,0 +1,27 @@ +package com.dc.dc_project.controller.bigScreen; + + +import com.dc.dc_project.common.ResponseResult; +import com.dc.dc_project.model.dto.LaboratoryDto; +import com.dc.dc_project.service.LaboratoryService; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +@RequestMapping("/bigScreen/laboratory") +@Tag(name = "大屏-实验室管理") +@RequiredArgsConstructor(onConstructor_ = {@Autowired}) +public class LaboratoryBigScreenController { + + private final LaboratoryService laboratoryService; + + @PostMapping("/list") + @Operation(summary = "实验室列表") + public ResponseResult list(@RequestBody LaboratoryDto laboratoryDto) { + return laboratoryService.getList(laboratoryDto); + } + +}