Explorar o código

【CHG】修改图表查询条件

zhaomn hai 1 ano
pai
achega
f06a4fff96

+ 1 - 1
railway-business/src/main/resources/mapper/bi/ShowBdycMapper.xml

@@ -302,7 +302,7 @@
                  case when qxdj = '三级' then 1 else 0 end as sj
           from show_bdyc
           where del_flag = '0'
-            and rectify_result='未处理'
+            and rectify_result='未处理' and found_mode = '0'
             and file_id =
                 (select max(id) from show_file where data_type = 'yctj' and imp_result = '1')
             and sjgq is not null) x

+ 1 - 1
railway-business/src/main/resources/mapper/bi/ShowDlycMapper.xml

@@ -282,7 +282,7 @@
                  case when gravity = '二级' then 1 else 0 end as ej,
                  case when gravity = '三级' then 1 else 0 end as sj
           from show_dlyc
-          where del_flag = '0'
+          where del_flag = '0' and found_mode = '0'
             and rectify_result='未处理'
             and file_id =
                 (select max(id) from show_file where data_type = 'yctj' and imp_result = '1')