Commit 965ae5a9 by 王祖波

空处理

parent 30c1196c
...@@ -160,7 +160,7 @@ public class WeekMonthDataAdaptor { ...@@ -160,7 +160,7 @@ public class WeekMonthDataAdaptor {
return null; return null;
} }
JSONObject jsonObject = DataApiUtils.getPageOne(result); JSONObject jsonObject = DataApiUtils.getPageOne(result);
if (jsonObject.isEmpty()) { if (jsonObject == null) {
return null; return null;
} }
BigDecimal useMatlNum = jsonObject.getBigDecimal("useMatlNum"); BigDecimal useMatlNum = jsonObject.getBigDecimal("useMatlNum");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment