| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vincent.rsf.framework.common.R; |
| | | import com.vincent.rsf.server.api.controller.open.param.QueryTaskParam; |
| | | import com.vincent.rsf.server.api.service.MonitorService; |
| | | import com.vincent.rsf.server.api.service.OpenAsrsService; |
| | | import com.vincent.rsf.server.common.domain.BaseParam; |
| | | import com.vincent.rsf.server.common.domain.PageParam; |
| | | import com.vincent.rsf.server.common.utils.FieldsUtils; |
| | |
| | | import com.vincent.rsf.server.system.controller.BaseController; |
| | | 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 WarehouseStockService warehouseStockService; |
| | | |
| | | @Autowired |
| | | private OpenAsrsService openAsrsService; |
| | | |
| | | @GetMapping("/queryLoc") |
| | | @ApiOperation("大屏:库位库存统计") |
| | | public R queryLoc() { |
| | | return openAsrsService.queryLoc(); |
| | | } |
| | | |
| | | @GetMapping("/line/charts") |
| | | @ApiOperation("大屏:入出库折线图数据") |
| | | public R locIoLineCharts() { |
| | | return openAsrsService.locIoLineCharts(); |
| | | } |
| | | |
| | | @GetMapping("/locDetl/statistics") |
| | | @ApiOperation("大屏:库存明细分页统计") |
| | | public R locDetlStatistics() { |
| | | return openAsrsService.locDetlStatistics(); |
| | | } |
| | | |
| | | @PostMapping("/queryTask") |
| | | @ApiOperation("大屏:任务查询") |
| | | public R queryTask(@RequestBody QueryTaskParam param) { |
| | | return openAsrsService.queryTask(param); |
| | | } |
| | | |
| | | /** |
| | | * 获取出入库流水记录 |
| | | * @return |