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 result = new HashMap<>(); result.put("msg", "操作成功"); result.put("code", 0); result.put("data", largeScreenDdjService.queryDdjList()); return AjaxResult.success(result); } }