fix(用例管理): 修复评审评论缺少内容问题
This commit is contained in:
parent
7e45a24752
commit
7049a4f5f6
|
@ -13,7 +13,13 @@ public class CaseReviewHistoryDTO extends CaseReviewHistory {
|
||||||
@Schema(description = "评审人名")
|
@Schema(description = "评审人名")
|
||||||
private String userName;
|
private String userName;
|
||||||
|
|
||||||
|
@Schema(description = "评审人邮箱")
|
||||||
|
private String email;
|
||||||
|
|
||||||
@Schema(description = "评审解析内容")
|
@Schema(description = "评审解析内容")
|
||||||
private String contentText;
|
private String contentText;
|
||||||
|
|
||||||
|
@Schema(description = "评审名称")
|
||||||
|
private String reviewName;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,11 +36,14 @@
|
||||||
ch.create_time,
|
ch.create_time,
|
||||||
ch.content,
|
ch.content,
|
||||||
u.name as userName,
|
u.name as userName,
|
||||||
ux.avatar as userLogo
|
ux.avatar as userLogo,
|
||||||
|
cr.name as reviewName,
|
||||||
|
u.email as email
|
||||||
FROM
|
FROM
|
||||||
case_review_history ch
|
case_review_history ch
|
||||||
left join user u on ch.create_user = u.id
|
left join user u on ch.create_user = u.id
|
||||||
left join user_extend ux on ch.create_user = ux.id
|
left join user_extend ux on ch.create_user = ux.id
|
||||||
|
left join case_review cr on ch.review_id = cr.id
|
||||||
where ch.case_id = #{caseId}
|
where ch.case_id = #{caseId}
|
||||||
<if test="reviewId != null and reviewId != ''">
|
<if test="reviewId != null and reviewId != ''">
|
||||||
and ch.review_id = #{reviewId}
|
and ch.review_id = #{reviewId}
|
||||||
|
|
Loading…
Reference in New Issue