This commit is contained in:
shiziyuan9527 2020-08-24 16:11:05 +08:00
commit d315944c20
3 changed files with 4 additions and 1 deletions

View File

@ -26,5 +26,7 @@ public class Issues implements Serializable {
private String model;
private String created;
private static final long serialVersionUID = 1L;
}

View File

@ -8,5 +8,6 @@
where test_case_issues.issues_id = issues.id
and test_case_issues.test_case_id = #{caseId}
and issues.platform = #{platform};
order by test_case_issues.create_time DESC
</select>
</mapper>

View File

@ -269,7 +269,7 @@ public class TestPlanService {
List<Issues> issue = issuesService.getIssues(testCase.getCaseId());
if (issue.size() > 0) {
for (Issues i : issue) {
i.setModel(testCase.getModel());
i.setModel(testCase.getNodePath());
String des = i.getDescription().replaceAll("<p>", "").replaceAll("</p>", "");
i.setDescription(des);
}