Merge branch 'master' of https://github.com/metersphere/metersphere
This commit is contained in:
commit
d315944c20
|
@ -26,5 +26,7 @@ public class Issues implements Serializable {
|
|||
|
||||
private String model;
|
||||
|
||||
private String created;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
|
@ -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>
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue