瀏覽代碼

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

zhaomn 2 年之前
父節點
當前提交
d743903cd1
共有 1 個文件被更改,包括 5 次插入5 次删除
  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 = '')