refactor(功能用例): 用例管理缺陷弹窗列表返回num

This commit is contained in:
WangXu10 2024-01-29 15:12:39 +08:00 committed by 刘瑞斌
parent 899b80a1df
commit eaf7160ee5
3 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,9 @@ public class BugProviderDTO implements Serializable {
@Schema(description = "id") @Schema(description = "id")
private String id; private String id;
@Schema(description = "num")
private String num;
@Schema(description = "缺陷id") @Schema(description = "缺陷id")
private String bugId; private String bugId;

View File

@ -100,6 +100,7 @@
<select id="listByProviderRequest" resultMap="BugProviderDTO"> <select id="listByProviderRequest" resultMap="BugProviderDTO">
SELECT SELECT
b.id as id, b.id as id,
b.num as num,
b.title name, b.title name,
b.handle_user handleUser, b.handle_user handleUser,
b.`status` as status, b.`status` as status,

View File

@ -70,6 +70,7 @@
SELECT SELECT
brc.id as id, brc.id as id,
brc.bug_id bugId, brc.bug_id bugId,
b.num as num,
b.title as name, b.title as name,
b.handle_user handleUser, b.handle_user handleUser,
b.`status`, b.`status`,