admin
2024-12-17 75f1ced619b49f354addc1cf8fa1ca320b25edd4
jcdm-main/src/main/java/com/jcdm/main/bs/batchInfo/service/impl/BsBatchInfoServiceImpl.java
@@ -119,7 +119,7 @@
            ParentVO parentVO = new ParentVO();
            parentVO.setSiteCode("3983");
            parentVO.setRecordId(String.valueOf(Instant.now().toEpochMilli()));
            parentVO.setStationCode("OP165");
            parentVO.setStationCode(bsBatchInfo.getStationCode());
            parentVO.setProductNum(format.format(new Date()));
            parentVO.setTotalResult("1");
            List<ChildVO> listChildVo = new ArrayList<>();
@@ -136,6 +136,8 @@
                CompletableFuture<Void> cp1 = CompletableFuture.runAsync(() -> {
                    HttpResponse execute = HttpRequest.post(Constants.FACTORY_EMS_UAT_GET_RUL+"deviceResultFeedback").body(JSONUtil.toJsonStr(parentVO)).execute();
                    System.out.println(execute.body());
                    bsBatchInfo.setFlag("Y");
                    this.saveOrUpdate(bsBatchInfo);
                });
            }catch (Exception e){
                System.out.println(e.getMessage());