fix(用例管理): 修复用例评论编辑失败问题
--bug=1035920 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001035920
This commit is contained in:
parent
867886860f
commit
b7825b65ac
|
@ -11,28 +11,28 @@ import java.util.List;
|
|||
@Data
|
||||
public class FunctionalCaseCommentRequest {
|
||||
|
||||
@Schema(description = "评论ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@Schema(description = "评论ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{functional_case_comment.id.not_blank}", groups = {Updated.class})
|
||||
private String id;
|
||||
|
||||
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{functional_case_comment.case_id.not_blank}", groups = {Created.class})
|
||||
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{functional_case_comment.case_id.not_blank}", groups = {Created.class, Updated.class})
|
||||
private String caseId;
|
||||
|
||||
@Schema(description = "评论@的人的Id, 多个以';'隔开")
|
||||
private String notifier;
|
||||
@Schema(description = "评论@的人的Id, 多个以';'隔开")
|
||||
private String notifier;
|
||||
|
||||
@Schema(description = "回复人")
|
||||
private String replyUser;
|
||||
@Schema(description = "回复人")
|
||||
private String replyUser;
|
||||
|
||||
@Schema(description = "父评论ID")
|
||||
@Schema(description = "父评论ID")
|
||||
private String parentId;
|
||||
|
||||
@Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{functional_case_comment.content.not_blank}", groups = {Created.class})
|
||||
private String content;
|
||||
|
||||
@Schema(description = "任务事件(仅评论: ’COMMENT‘; 评论并@: ’AT‘; 回复评论/回复并@: ’REPLAY‘;)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@Schema(description = "任务事件(仅评论: ’COMMENT‘; 评论并@: ’AT‘; 回复评论/回复并@: ’REPLAY‘;)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{functional_case_comment.event.not_blank}", groups = {Created.class})
|
||||
private String event;
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@ export default defineComponent({
|
|||
}
|
||||
const params: CommentParams = {
|
||||
bugId: item.bugId,
|
||||
caseId: item.caseId,
|
||||
content,
|
||||
event,
|
||||
commentType: currentItem.commentType,
|
||||
|
|
Loading…
Reference in New Issue