From af5081bc0d0668d526a204076557a171097ddb8d Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 05 二月 2026 14:02:59 +0800
Subject: [PATCH] Merge branch 'refs/heads/rcs_master' into ctu_conveyor

---
 zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/IntegrationRecordServiceImpl.java |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/IntegrationRecordServiceImpl.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/IntegrationRecordServiceImpl.java
index fc6cdc3..5c9f300 100644
--- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/IntegrationRecordServiceImpl.java
+++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/IntegrationRecordServiceImpl.java
@@ -1,16 +1,19 @@
 package com.zy.acs.manager.manager.service.impl;
 
+import com.alibaba.fastjson.JSON;
 import com.zy.acs.framework.common.R;
 import com.zy.acs.manager.core.service.ThreadPoolRegulator;
 import com.zy.acs.manager.manager.mapper.IntegrationRecordMapper;
 import com.zy.acs.manager.manager.entity.IntegrationRecord;
 import com.zy.acs.manager.manager.service.IntegrationRecordService;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
 import java.util.concurrent.CompletableFuture;
 
+@Slf4j
 @Service("integrationRecordService")
 public class IntegrationRecordServiceImpl extends ServiceImpl<IntegrationRecordMapper, IntegrationRecord> implements IntegrationRecordService {
 
@@ -21,14 +24,15 @@
     public Boolean syncRecord(IntegrationRecord record) {
         CompletableFuture<?> completableFuture = CompletableFuture.supplyAsync(() -> {
 
-
-
+            if (!this.save(record)) {
+                log.error("failed to save record {}", JSON.toJSONString(record));
+            }
 //            mapDataDispatcher.modifyDynamicMatrix(null, null, param.getAgvNo(), true);
 //            avoidWaveCalculator.calcDynamicNodeByVehicle(agv, null);
             return R.ok();
         }, threadPoolRegulator.getInstance());
 
-        return false;
+        return true;
     }
 
 }

--
Gitblit v1.9.1