Commit bc6217b8 zshaohui

西门子Status bug处理

1 个父辈 2c61e73b
...@@ -27,7 +27,7 @@ public class LotCheckInfo implements Serializable { ...@@ -27,7 +27,7 @@ public class LotCheckInfo implements Serializable {
public static LotCheckInfo toObj(String lotId,String result) { public static LotCheckInfo toObj(String lotId,String result) {
try { try {
Map<String, Object> map = JsonUtil.toMap(result); Map<String, Object> map = JsonUtil.toMap(result);
Object statusStr = map.containsKey("Status"); Object statusStr = map.get("Status");
if (statusStr != null) { if (statusStr != null) {
boolean s = Boolean.parseBoolean(statusStr.toString()); boolean s = Boolean.parseBoolean(statusStr.toString());
LotCheckInfo lotCheckInfo = new LotCheckInfo(); LotCheckInfo lotCheckInfo = new LotCheckInfo();
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!