|
|
@@ -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 = '')
|