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