|
|
@@ -275,7 +275,7 @@
|
|
|
|
|
|
<select id="countByywc" resultType="java.lang.Integer">
|
|
|
select count(*)
|
|
|
- from show_gsd
|
|
|
+ from show_gsy
|
|
|
where del_flag='0'
|
|
|
and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
|
|
|
and MONTH(test_plan1) = #{month} and completion_date1 is not null and completion_date1 != '';
|
|
|
@@ -283,7 +283,7 @@
|
|
|
|
|
|
<select id="countBywwc" resultType="java.lang.Integer">
|
|
|
select count(*)
|
|
|
- from show_gsd
|
|
|
+ from show_gsy
|
|
|
where del_flag='0'
|
|
|
and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
|
|
|
and MONTH(test_plan1) = #{month} and (completion_date1 is null or completion_date1 = '')
|
|
|
@@ -291,7 +291,7 @@
|
|
|
|
|
|
<select id="countXyjhwc" resultType="java.lang.Integer">
|
|
|
select count(*)
|
|
|
- from show_gsd
|
|
|
+ from show_gsy
|
|
|
where del_flag='0'
|
|
|
and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
|
|
|
and MONTH(test_plan1) = #{month}
|
|
|
@@ -299,15 +299,15 @@
|
|
|
|
|
|
<select id="countNdsys" resultType="java.lang.Integer">
|
|
|
select count(*)
|
|
|
- from show_gsd
|
|
|
+ from show_gsy
|
|
|
where del_flag='0'
|
|
|
and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
|
|
|
- and completion_date1 is null or completion_date1 = ''
|
|
|
+ and (completion_date1 is null or completion_date1 = '')
|
|
|
</select>
|
|
|
|
|
|
<select id="listWwcmx" resultType="java.lang.String">
|
|
|
select substation_name
|
|
|
- from show_gsd
|
|
|
+ from show_gsy
|
|
|
where del_flag='0'
|
|
|
and file_id = (select max(id) from show_file where data_type = 'scrw' and imp_result = '1')
|
|
|
and MONTH(test_plan1) = #{month} and (completion_date1 is null or completion_date1 = '')
|