fix: 修改模块显示路径,时间排序
This commit is contained in:
parent
cf17e34756
commit
6a8c1788ea
|
@ -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