| | |
| | | private MiloService miloService; |
| | | |
| | | /** |
| | | * 根据总成码查询工单 |
| | | */ |
| | | @GetMapping("/getProductionOrdeOneBySfcCode") |
| | | public AjaxResult getProductionOrdeOneBySfcCode(OmProductionOrdeInfo omProductionOrdeInfo) |
| | | { |
| | | OmProductionOrdeInfo ordeInfo = omProductionOrdeInfoService.getOne(new LambdaQueryWrapper<OmProductionOrdeInfo>() |
| | | .eq(OmProductionOrdeInfo::getProductNum, omProductionOrdeInfo.getProductNum())); |
| | | if(ObjectUtil.isNotNull(ordeInfo)){ |
| | | return AjaxResult.success(ordeInfo); |
| | | }else { |
| | | return AjaxResult.error("未查询到工单!"); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 查询生产工单列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('om:productionOrde:list')") |