|
@@ -71,7 +71,7 @@ public class QCTestController {
|
|
//测试数据查询
|
|
//测试数据查询
|
|
String sql = "SELECT qmap.id, qi.id text_id, qi.text, ca.name, entry.code FROM " +
|
|
String sql = "SELECT qmap.id, qi.id text_id, qi.text, ca.name, entry.code FROM " +
|
|
"qc_inputcases_mapping_all qmap, (" + textSql + ") qi, qc_cases_entry entry, qc_cases ca " +
|
|
"qc_inputcases_mapping_all qmap, (" + textSql + ") qi, qc_cases_entry entry, qc_cases ca " +
|
|
- "where qmap.text_id = qi.id and qmap.cases_entry_id = entry.id and entry.cases_id = ca.id and is_delelted = 'N' ";
|
|
|
|
|
|
+ "where qmap.text_id = qi.id and qmap.cases_entry_id = entry.id and entry.cases_id = ca.id and qmap.is_deleted = 'N' ";
|
|
|
|
|
|
if (StringUtils.isNotEmpty(caseIds)) {
|
|
if (StringUtils.isNotEmpty(caseIds)) {
|
|
sql = sql + " and entry.cases_id in (" + caseIds + ")";
|
|
sql = sql + " and entry.cases_id in (" + caseIds + ")";
|