From 3da7c9dc001608ac877912ce23bd9e5119f88983 Mon Sep 17 00:00:00 2001 From: zhoushihao <zsh19950802@163.com> Date: 星期五, 12 四月 2024 15:04:59 +0800 Subject: [PATCH] 获取大理片笼信息接口 --- hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageController.java | 28 +++++++--------------------- 1 files changed, 7 insertions(+), 21 deletions(-) diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageController.java b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageController.java index 7b778e5..bac48b0 100644 --- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageController.java +++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageController.java @@ -1,21 +1,18 @@ package com.mes.bigstorage.controller; - import com.mes.bigstorage.entity.BigStorageCage; -import com.mes.bigstorage.entity.BigStorageCageDetails; -import com.mes.bigstorage.service.BigStorageCageDetailsService; import com.mes.bigstorage.service.BigStorageCageService; import io.swagger.annotations.ApiOperation; +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 java.util.List; /** * <p> - * 鍓嶇鎺у埗鍣� + * 鍓嶇鎺у埗鍣� * </p> * * @author zhoush @@ -25,8 +22,8 @@ @RequestMapping("/bigStorageCage") public class BigStorageCageController { + @Autowired private BigStorageCageService bigStorageCageService; - private BigStorageCageDetailsService bigStorageCageDetailsService; //todo: 瀹炰緥浠g爜 寰呭垹闄� @ApiOperation("娴嬭瘯") @@ -36,21 +33,10 @@ } @ApiOperation("鐞嗙墖绗间俊鎭�") - @GetMapping("/BigStorageCage") - public List<BigStorageCage> BigStorageCage() { - return bigStorageCageService.list(); - } - - @ApiOperation("鐞嗙墖绗艰鎯�") - @GetMapping("/BigStorageCageDetails") - public List<BigStorageCageDetails> BigStorageCageDetails() { - return bigStorageCageDetailsService.list(); - } - - @ApiOperation("灏忚溅瀹炴椂浣嶇疆") - @GetMapping("/CarPosition") - public List<Integer> CarPosition() { - return bigStorageCageDetailsService.getCarposition(); + @GetMapping("/bigStorageCage") + public List<BigStorageCage> querybigStorageCageDetail() { +// return bigStorageCageService.list(); + return bigStorageCageService.querybigStorageCageDetail(); } @ApiOperation("鎵嬪姩瀹屾垚浠诲姟") -- Gitblit v1.8.0