Files
FT577-WCS/ruoyi-admin/src/main/java/com/ruoyi/largeScreen/controller/LargeScreenDdjController.java
猫猫guowen 3071c572ff 2D监控
2025-09-28 16:50:02 +08:00

37 lines
1.1 KiB
Java

package com.ruoyi.largeScreen.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.ruoyi.common.annotation.Anonymous;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.largeScreen.service.ILargeScreenDdjService;
/**
* 大屏堆垛机数据Controller
*
* @author ruoyi
*/
@RestController
@RequestMapping("/largeScreen/ddj")
public class LargeScreenDdjController {
@Autowired
private ILargeScreenDdjService largeScreenDdjService;
/**
* 查询堆垛机数据列表
*/
@GetMapping("/list")
public AjaxResult list() {
Map<String, Object> result = new HashMap<>();
result.put("msg", "操作成功");
result.put("code", 0);
result.put("data", largeScreenDdjService.queryDdjList());
return AjaxResult.success(result);
}
}