| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | | @RequestMapping("/down-storage-cage-details") |
| | | @RequestMapping("/api/unLoadGlass/downstorage") |
| | | public class DownStorageCageDetailsController { |
| | | |
| | | @Autowired |
| | |
| | | return "Details added successfully"; |
| | | } |
| | | |
| | | @GetMapping("/leisure") |
| | | public List<Map<String, Object>> getLeisureData() { |
| | | return downStorageCageDetailsService.selectCacheLeisure(); |
| | | } |
| | | |
| | | // Other CRUD operations can be defined here |
| | | } |