| | |
| | | package com.vincent.rsf.openApi.controller; |
| | | |
| | | import com.vincent.rsf.openApi.entity.dto.CommonResponse; |
| | | import com.vincent.rsf.openApi.feign.wms.WmsServerFeignClient; |
| | | import com.vincent.rsf.openApi.service.MonitorService; |
| | | 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.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | |
| | | @Autowired |
| | | private MonitorService monitorService; |
| | | |
| | | @Autowired |
| | | private WmsServerFeignClient wmsServerFeignClient; |
| | | |
| | | @GetMapping("/queryLoc") |
| | | @ApiOperation("大屏:库位库存统计") |
| | | public Map<String, Object> queryLoc() { |
| | | return wmsServerFeignClient.openAsrsQueryLoc(); |
| | | } |
| | | |
| | | @GetMapping("/line/charts") |
| | | @ApiOperation("大屏:入出库折线图数据") |
| | | public Map<String, Object> lineCharts() { |
| | | return wmsServerFeignClient.openAsrsLineCharts(); |
| | | } |
| | | |
| | | @GetMapping("/locDetl/statistics") |
| | | @ApiOperation("大屏:库存明细分页统计") |
| | | public Map<String, Object> locDetlStatistics() { |
| | | return wmsServerFeignClient.openAsrsLocDetlStatistics(); |
| | | } |
| | | |
| | | @PostMapping("/queryTask") |
| | | @ApiOperation("大屏:任务查询") |
| | | public Map<String, Object> queryTask(@RequestBody Map<String, Object> body) { |
| | | return wmsServerFeignClient.openAsrsQueryTask(body); |
| | | } |
| | | |
| | | /** |
| | | * 获取出入库流水记录 |
| | | * @return |