| | |
| | | private final MesInvItemArnDetailService mesInvItemArnDetailService; |
| | | private final MesInvItemBarcodesService mesInvItemBarcodesService; |
| | | |
| | | private final MesQaItemsDetect01Service mesQaItemsDetect01Service; |
| | | |
| | | public void GetSaveDetail() throws IOException { |
| | | long currentTimeMillis = System.currentTimeMillis(); |
| | | |
| | | XkyCommonParam param = XkyCommonParam.GetInit(); |
| | | |
| | | // 计算五分钟前的时间戳 |
| | | long startDate = currentTimeMillis - (5 * 60 * 1000); // 5 分钟 = 5 * 60 * 1000 毫秒 |
| | | long startDate = currentTimeMillis - (6 * 60 * 1000); // 5 分钟 = 5 * 60 * 1000 毫秒 |
| | | |
| | | // 创建 BodyParam 对象并赋值 |
| | | BodyParam bodyParam = new BodyParam(); |
| | |
| | | |
| | | remove(deliveryNo); |
| | | |
| | | } else if ("2".equals(deliveryNo.getLogisticsStatus())) { |
| | | } else if ("1".equals(deliveryNo.getStatus()) && "2".equals(deliveryNo.getLogisticsStatus())) { |
| | | XkyDetail detail = getDetail(deliveryNo.getDeliveryNo()); |
| | | deliveryNoticeService.saveDeliveryNotice(detail); |
| | | List<BarcodeDeliveryNo> barcodeDeliveryNos = GetBarcodeInformation(deliveryNo.getDeliveryNo()); |
| | |
| | | updateWrapper3.eq(MesInvItemBarcodes::getBillNo, mesInvItemArn.getBillNo()); |
| | | mesInvItemBarcodesService.remove(updateWrapper3); |
| | | |
| | | mesQaItemsDetect01Service.removeQa(mesInvItemArn.getBillNo()); |
| | | } |
| | | } |
| | | } |