Commit 9b422b99 authored by wanghao's avatar wanghao

1 应急响应 界面报错问题修复

parent df6ecdfc
...@@ -292,7 +292,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -292,7 +292,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from t_detector_report_data b1 from t_detector_report_data b1
left join t_detector_info b2 on b1.detector_code = b2.detector_code left join t_detector_info b2 on b1.detector_code = b2.detector_code
right join t_detector_user b3 on b2.user_id = b3.user_id right join t_detector_user b3 on b2.user_id = b3.user_id
<where> b2.is_del = '0' and b3.is_del = '0' and b2.error_msg is null <where> b2.is_del = '0' and b3.is_del = '0' and b3.error_msg is null
<if test="userId != null and userId != ''"> and b3.user_id = #{userId}</if> <if test="userId != null and userId != ''"> and b3.user_id = #{userId}</if>
</where>) b </where>) b
group by b.user_id,b.detector_type group by b.user_id,b.detector_type
......
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