| | |
| | | import org.jeecg.modules.lsw.enums.MaterialInventoryStatusEnum; |
| | | import org.jeecg.modules.lsw.service.ILswMaterialInventoryService; |
| | | import org.jeecg.modules.lsw.vo.MaterialInventoryStatisticsVO; |
| | | import org.jeecg.modules.lsw.vo.MaterialInventoryVO; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | } |
| | | return Result.OK(sb.toString()); |
| | | } |
| | | |
| | | @ApiOperation(value = "物料库存信息-根据产线查询库存", notes = "物料库存信息-根据产线查询库存") |
| | | @GetMapping(value = "/queryMaterialInventory") |
| | | public Result<List<MaterialInventoryVO>> queryMaterialInventory(@RequestParam(name = "factoryId") String factoryId) { |
| | | List<MaterialInventoryVO> list = lswMaterialInventoryService.queryMaterialInventory(factoryId); |
| | | return Result.OK(list); |
| | | } |
| | | } |