From 945774c0ddc6bdae1d53cfbd74892efcf7d949a1 Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期三, 11 三月 2026 15:41:00 +0800
Subject: [PATCH] lsh#

---
 rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/InBoundServiceImpl.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/InBoundServiceImpl.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/InBoundServiceImpl.java
index fd84f81..7c760fc 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/InBoundServiceImpl.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/InBoundServiceImpl.java
@@ -267,8 +267,9 @@
             if (!taskService.save(task)) {
                 throw new CoolException("浠诲姟淇濆瓨澶辫触锛侊紒");
             }
-            station.setUseStatus(LocStsType.LOC_STS_TYPE_R.type);
-
+            if (!station.getType().equals(0)){
+                station.setUseStatus(LocStsType.LOC_STS_TYPE_R.type);
+            }
             if (!basStationService.updateById(station)) {
                 throw new CoolException("绔欑偣鐘舵�佹洿鏂板け璐ワ紒锛�");
             }

--
Gitblit v1.9.1