fix(测试计划): 测试计划列表返回值问题
--bug=1040707 --user=王旭 【测试计划】计划创建成功后无创建人,描述填写了未反显,创建时间时间时间戳转换错误 https://www.tapd.cn/55049933/s/1517693
This commit is contained in:
parent
7cf6ca92ed
commit
75fdb4edf3
|
@ -26,7 +26,7 @@ public class TestPlanResponse extends TestPlanStatisticsResponse {
|
|||
@Schema(description = "创建人名称")
|
||||
private String createUserName;
|
||||
@Schema(description = "创建时间")
|
||||
private String createTime;
|
||||
private Long createTime;
|
||||
@Schema(description = "模块")
|
||||
private String moduleName;
|
||||
@Schema(description = "模块Id")
|
||||
|
@ -38,4 +38,7 @@ public class TestPlanResponse extends TestPlanStatisticsResponse {
|
|||
|
||||
@Schema(description = "测试计划组Id")
|
||||
private String groupId;
|
||||
|
||||
@Schema(description = "描述")
|
||||
private String description;
|
||||
}
|
||||
|
|
|
@ -39,9 +39,10 @@
|
|||
t.id,t.num,t.name,t.status,t.group_id,
|
||||
t.create_user AS createUser,
|
||||
createUser.name AS createUserName,
|
||||
t.create_time,
|
||||
t.module_id,
|
||||
t.create_time as createTime,
|
||||
t.module_id as moduleId,
|
||||
t.type,
|
||||
t.description,
|
||||
t.tags
|
||||
FROM test_plan t
|
||||
INNER JOIN user createUser ON t.create_user = createUser.id
|
||||
|
|
Loading…
Reference in New Issue