Commit 9a0a5a33 authored by maoying's avatar maoying

修改统计返回null toString()异常

parent f58cf22f
......@@ -62,7 +62,7 @@ public class WeatherController extends BaseController {
}
} catch (Exception e) {
System.out.println("发送GET请求出现异常!" + e);
return CommonResponseUtil.failure(e.getCause().toString());
return CommonResponseUtil.failure(e.getMessage());
}
// 使用finally块来关闭输入流
......
......@@ -441,7 +441,7 @@
<select id="getStatisticsCheck" resultType="java.util.HashMap">
<![CDATA[
SELECT d.status as type, count(1) as value
SELECT IFNULL(d.STATUS,'') AS type, count(1) as value
FROM p_plan_task_detail d
left JOIN p_plan_task t on t.id=d.task_no
WHERE
......
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