Quellcode durchsuchen

【BUG】远动调试描述查询错误

zhaomn vor 2 Jahren
Ursprung
Commit
d743903cd1
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 5 5
      railway-business/src/main/resources/mapper/bi/ShowYdtsMapper.xml

+ 5 - 5
railway-business/src/main/resources/mapper/bi/ShowYdtsMapper.xml

@@ -300,7 +300,7 @@
 
   <select id="countByywc" resultType="java.lang.Integer">
     select count(*)
-    from show_gsd
+    from show_ydts
     where del_flag='0'
       and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
       and plan_month = #{month} and completion_date is not null and completion_date != '';
@@ -308,7 +308,7 @@
 
   <select id="countBywwc" resultType="java.lang.Integer">
     select count(*)
-    from show_gsd
+    from show_ydts
     where del_flag='0'
       and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
       and plan_month = #{month} and (completion_date is null or completion_date = '')
@@ -316,7 +316,7 @@
 
   <select id="countXyjhwc" resultType="java.lang.Integer">
     select count(*)
-    from show_gsd
+    from show_ydts
     where del_flag='0'
       and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
       and plan_month = #{month}
@@ -324,7 +324,7 @@
 
   <select id="countNdsys" resultType="java.lang.Integer">
     select count(*)
-    from show_gsd
+    from show_ydts
     where del_flag='0'
       and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
       and (completion_date is null or completion_date = '')
@@ -332,7 +332,7 @@
 
   <select id="listWwcmx" resultType="java.lang.String">
     select substation_name
-    from show_gsd
+    from show_ydts
     where del_flag='0'
       and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
       and plan_month = #{month} and (completion_date is null or completion_date = '')