feat: 扫码后直接插入记录

This commit is contained in:
砂糖
2025-08-22 13:19:22 +08:00
parent 7ff779946d
commit 76926c3a10
4 changed files with 90 additions and 63 deletions

View File

@@ -21,6 +21,7 @@ public class ScanDataUtil {
JSONObject obj = new JSONObject();
obj.put("stockIoId", Long.valueOf(parts[0]));
obj.put("warehouseId", Long.valueOf(parts[1]));
obj.put("fromWarehouseId", Long.valueOf(parts[1]));
obj.put("itemId", Long.valueOf(parts[2]));
obj.put("quantity", new BigDecimal(parts[3]));
obj.put("itemType", itemType);
@@ -31,4 +32,4 @@ public class ScanDataUtil {
obj.put("recordType", recordType);
return obj.toString();
}
}
}