From 4c66319211f9f7e496dfc32718dbd7aefed4ca88 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期四, 12 三月 2026 10:46:47 +0800
Subject: [PATCH] 任务管理完结、取消按钮

---
 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