大屏获取试验室

This commit is contained in:
lhx
2025-11-12 16:42:16 +08:00
parent f963c9cfad
commit 26b0705e1c

View File

@@ -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);
}
}