fix:库存同步
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user