File tree 2 files changed +3
-2
lines changed
src/com/intel/cid/common/dao/impl
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
.project
6
6
.metadata
7
7
WebContent /WEB-INF /lib /*
8
+ /build /
Original file line number Diff line number Diff line change @@ -758,7 +758,7 @@ public Object mapRow(ResultSet rs, int i)
758
758
759
759
public List <TestCase > listTestCaseNumInProjectByFeature (int id ) {
760
760
String sql = "select b.FEATURENAME, count(*) as Num from testcase a left join feature b on a.featureid=b.FEATUREID "
761
- + "where a.PROJECTID='" +id +"' group by a.FEATUREID" ;
761
+ + "where (a.status <> 1 or a.status is null) and a.PROJECTID='" +id +"' group by a.FEATUREID" ;
762
762
logger .info ("listTestCaseNumInProjectByFeature sql:" + sql );
763
763
@ SuppressWarnings ("unchecked" )
764
764
List <TestCase > caseList = userJdbcTemplate .query (sql ,
@@ -776,7 +776,7 @@ public Object mapRow(ResultSet rs, int i)
776
776
777
777
public List <TestCase > listTestCaseNumInProjectByAuto (int id ) {
778
778
String sql = "select b.AUTONAME, count(*) as Num from testcase a left join automation b on a.autoid=b.autoid "
779
- + "where a.PROJECTID='" +id +"' group by a.autoid" ;
779
+ + "where (a.status <> 1 or a.status is null) and a.PROJECTID='" +id +"' group by a.autoid" ;
780
780
logger .info ("listTestCaseNumInProjectByAuto sql:" + sql );
781
781
@ SuppressWarnings ("unchecked" )
782
782
List <TestCase > caseList = userJdbcTemplate .query (sql ,
You can’t perform that action at this time.
0 commit comments