From 9145f8a44c6ae733019e43c775cc30243032e502 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期三, 29 四月 2026 16:16:43 +0800
Subject: [PATCH] 拍照触发修改
---
src/main/java/com/zy/asrs/service/impl/InboundCameraCaptureServiceImpl.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/service/impl/InboundCameraCaptureServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/InboundCameraCaptureServiceImpl.java
index 249483b..492d592 100644
--- a/src/main/java/com/zy/asrs/service/impl/InboundCameraCaptureServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/InboundCameraCaptureServiceImpl.java
@@ -24,6 +24,7 @@
import okhttp3.Response;
import okhttp3.ResponseBody;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import java.text.SimpleDateFormat;
@@ -97,6 +98,7 @@
return successPics.isEmpty() ? null : JSON.toJSONString(successPics);
}
+ @Async
@Override
public void processPendingCapture(WrkMast wrkMast) {
if (wrkMast == null || wrkMast.getWrkNo() == null) {
--
Gitblit v1.9.1