refactor(测试计划): 优化计划列表返回值
This commit is contained in:
parent
31c506feac
commit
8a13dd6f35
|
@ -23,6 +23,8 @@ public class TestPlanResponse extends TestPlanStatisticsResponse {
|
|||
private String schedule;
|
||||
@Schema(description = "创建人")
|
||||
private String createUser;
|
||||
@Schema(description = "创建人名称")
|
||||
private String createUserName;
|
||||
@Schema(description = "创建时间")
|
||||
private String createTime;
|
||||
@Schema(description = "模块")
|
||||
|
|
|
@ -34,10 +34,11 @@
|
|||
</select>
|
||||
|
||||
<select id="selectByConditions"
|
||||
resultMap="testPlanBaseInfo">
|
||||
resultType="io.metersphere.plan.dto.response.TestPlanResponse">
|
||||
SELECT
|
||||
t.id,t.num,t.name,t.status,t.group_id,
|
||||
createUser.name AS createUser,
|
||||
t.create_user AS createUser,
|
||||
createUser.name AS createUserName,
|
||||
t.create_time,
|
||||
t.module_id,
|
||||
t.type,
|
||||
|
|
Loading…
Reference in New Issue