| | |
| | | @Autowired |
| | | private IDaTestDeviceInterfaceTempService daTestDeviceInterfaceTempService; |
| | | |
| | | @Autowired |
| | | private IBsBeatSettingService bsBeatSettingService; |
| | | |
| | | @Autowired |
| | | private IDaParamCollectionService daParamCollectionService; |
| | | |
| | | /** |
| | | * 导出点检任务列表 |
| | | */ |
| | |
| | | } |
| | | |
| | | @GetMapping("/productionOrderComponentRequest") |
| | | public AjaxResult productionOrderComponentRequest(BsFormulaChildInfo bsFormulaChildInfo){ |
| | | List<BsFormulaChildInfo> list = bsFormulaChildInfoService.list(new LambdaQueryWrapper<BsFormulaChildInfo>() |
| | | .eq(BsFormulaChildInfo::getProcessesCode, bsFormulaChildInfo.getProcessesCode()) |
| | | .eq(BsFormulaChildInfo::getOperationType, "2") |
| | | ); |
| | | List<ProductionOrderComponentRequest> requests = new ArrayList<>(); |
| | | for (BsFormulaChildInfo info : list) { |
| | | ProductionOrderComponentRequest request = new ProductionOrderComponentRequest(); |
| | | request.setMaterialCode(info.getMaterialCode()); |
| | | request.setOperationSteps(info.getOperationSteps()); |
| | | requests.add(request); |
| | | public AjaxResult productionOrderComponentRequest(@RequestParam String stationCode,@RequestParam String confirmTime){ |
| | | List<BsBeatSetting> list = bsBeatSettingService.list(); |
| | | for (BsBeatSetting bsBeatSetting : list) { |
| | | String workReportResultFeedback = RestfulService.getWorkReportResultFeedback(bsBeatSetting.getProductCode(), stationCode, confirmTime); |
| | | System.out.println(workReportResultFeedback); |
| | | } |
| | | return AjaxResult.success(requests); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @GetMapping("/pushStartStopTime") |
| | | public AjaxResult pushStartStopTime(@RequestParam String paramCode,@RequestParam String paramName,@RequestParam String productNum){ |
| | | daParamCollectionService.pushStartStopTime(paramCode,paramName,productNum); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | /** |