From dbe87fddc43db7e5486489c3a011cc6474c4701c Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 09 十月 2025 16:46:42 +0800
Subject: [PATCH] #和得服务器
---
src/main/java/com/zy/asrs/entity/param/TaskArmCycleResultParam.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/param/TaskArmCycleResultParam.java b/src/main/java/com/zy/asrs/entity/param/TaskArmCycleResultParam.java
index 96882f6..1797392 100644
--- a/src/main/java/com/zy/asrs/entity/param/TaskArmCycleResultParam.java
+++ b/src/main/java/com/zy/asrs/entity/param/TaskArmCycleResultParam.java
@@ -2,6 +2,8 @@
import lombok.Data;
+import java.util.regex.Pattern;
+
/*
* Created by Monkey D. Luffy on 2025.09.09
* */
@@ -17,9 +19,9 @@
private String sku;
public void OrderIdTwo(String sign_order,String sign_sku){
- String[] split = order_id.split(sign_order);
+ String[] split = order_id.split(Pattern.quote(sign_order));
staNo = split[1];
- String[] split1 = split[0].split(sign_sku);
+ String[] split1 = split[0].split(Pattern.quote(sign_sku));
orderNo = split1[1];
sku = split1[0];
}
--
Gitblit v1.9.1