|
|
@ -51,7 +51,7 @@ public class AutoUpdateWorkOrder { |
|
|
|
TaskUtils.addAutoUpdateColum(yzWorkOrderUpdate); |
|
|
|
for (int i = 0; i < yzData.size(); i++) { |
|
|
|
JSONObject newData = yzData.getJSONObject(i); |
|
|
|
yzWorkOrderUpdate.put("real_qty", newData.getString("reql_qty")); |
|
|
|
yzWorkOrderUpdate.put("real_qty", newData.getString("real_qty")); |
|
|
|
yzWorkOrderUpdate.put("qualified_qty", newData.getString("qualified")); |
|
|
|
yzWorkOrderUpdate.put("unqualified_qty", newData.getString("unqualified")); |
|
|
|
workOrderTable.update(yzWorkOrderUpdate, "workorder_id = " + newData.getString("workorder_id")); |
|
|
@ -62,7 +62,7 @@ public class AutoUpdateWorkOrder { |
|
|
|
TaskUtils.addAutoUpdateColum(fjWorkOrderUpdate); |
|
|
|
for (int i = 0; i < fjData.size(); i++) { |
|
|
|
JSONObject newData = fjData.getJSONObject(i); |
|
|
|
yzWorkOrderUpdate.put("real_qty", newData.getString("reql_qty")); |
|
|
|
yzWorkOrderUpdate.put("real_qty", newData.getString("real_qty")); |
|
|
|
workOrderTable.update(yzWorkOrderUpdate, "workorder_id = " + newData.getString("workorder_id")); |
|
|
|
} |
|
|
|
} |
|
|
|