| | |
| | | }else{ |
| | | // 查询最新的工单信息 |
| | | OmProductionOrdeInfo lastOrder = omProductionOrdeInfoService.getLastOrder(); |
| | | |
| | | log.info("请求工厂MES工单:入参device{},materialCode:{}", device, materialCode); |
| | | String facMaterialCode = Constants.facMaterialMap.get(materialCode); |
| | | log.info("请求工厂MES工单:入参device{},请求工厂物料编码facMaterialCode:{},产品物料编码{}MaterialCode", device, facMaterialCode,materialCode); |
| | | String orderJsonString = RestfulService.getProductionWorkOrderRequest(lastOrder.getProductNum(), "OP010",facMaterialCode); |
| | | log.info("请求工厂MES工单:出参pack:{}", orderJsonString); |
| | | |