|
@@ -60,7 +60,7 @@ public class QCTestController {
|
|
|
//测试数据查询
|
|
|
String sql = "SELECT qmap.id, qi.id text_id, qi.text, ca.name, entry.code FROM \n" +
|
|
|
"qc_inputcases_mapping qmap, qc_inputcases qi, qc_cases_entry entry, qc_cases ca\n" +
|
|
|
- "where qmap.text_id = qi.id and qmap.cases_entry_id = entry.id and entry.cases_id = ca.id ";
|
|
|
+ "where qmap.text_id = qi.id and qmap.cases_entry_id = entry.id and entry.cases_id = ca.id and qi.id != 37";
|
|
|
|
|
|
if (StringUtils.isNotEmpty(caseIds)) {
|
|
|
sql = sql + " and entry.cases_id in (" + caseIds + ")";
|
|
@@ -81,6 +81,7 @@ public class QCTestController {
|
|
|
List<String> textList = new ArrayList<>();
|
|
|
List<String> caseList = new ArrayList<>();
|
|
|
List<Map<String, String>> updateList = new ArrayList<>();
|
|
|
+ List<String> textIdList = new ArrayList<>();
|
|
|
String textId = ""; int index = 0;
|
|
|
String text = ""; String caseName = "";
|
|
|
while (rs.next()) {
|
|
@@ -99,6 +100,7 @@ public class QCTestController {
|
|
|
updateList.add(updateMap);
|
|
|
textList.add(r3);
|
|
|
caseList.add(r4);
|
|
|
+ textIdList.add(r2);
|
|
|
}
|
|
|
catalogueMap = new HashMap<>();
|
|
|
}
|
|
@@ -114,9 +116,11 @@ public class QCTestController {
|
|
|
updateList.add(updateMap);
|
|
|
textList.add(text);
|
|
|
caseList.add(caseName);
|
|
|
+ textIdList.add(textId);
|
|
|
}
|
|
|
|
|
|
for (int i = 0; i < textList.size(); i++) {
|
|
|
+ System.out.println("**************************" + textIdList.get(i));
|
|
|
MedrecVo medrecVo = new MedrecVo();
|
|
|
medrecVo.setTitle(caseList.get(i));
|
|
|
Map<String, Object> content = new HashMap<>();
|