fix:库存同步

This commit is contained in:
zhaoyf
2026-11-14 10:22:12 +08:00
parent 79aee67d4d
commit 8075ee140a

View File

@@ -66,8 +66,8 @@ public class StructIvtController {
return new ArrayList<>();
}
Object value = param.get("materials");
if (value instanceof JSONArray) {
for (Object item : (JSONArray) value) {
if (value instanceof ArrayList) {
for (Object item : (ArrayList) value) {
addMaterial(codes, item == null ? null : item.toString());
}
} else if (value != null) {