Bläddra i källkod

【CHG】电力维修队

zhaomn 1 år sedan
förälder
incheckning
375dc93bb3
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      railway-business/src/main/resources/mapper/bi/ShowDlycMapper.xml

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

@@ -265,10 +265,10 @@
           from show_dlyc
           where del_flag = '0'
             and rectify_result='未处理'
-            and file_id =
-                (select max(id) from show_file where data_type = 'yctj' and imp_result = '1')
-            and ssgq is not null) x
-           right join sys_dict_data t1 on x.ssgq = t1.dict_label
+            and file_id = (select max(id) from show_file where data_type = 'yctj' and imp_result = '1')
+            and ssgq = '电力维修队'
+          ) x
+          right join sys_dict_data t1 on x.ssgq = t1.dict_label
     where t1.dict_type = 'dlyc_sygq'
     group by t1.dict_label
   </select>