refactor(缺陷管理): 自定义ID显示

This commit is contained in:
shiziyuan9527 2021-05-24 11:19:46 +08:00 committed by 刘瑞斌
parent 4309ca6f14
commit 18b197470c
5 changed files with 12 additions and 7 deletions

View File

@ -24,7 +24,7 @@
SELECT * FROM issues WHERE issues.project_id = #{projectId} ORDER BY num DESC LIMIT 1;
</select>
<select id="getRelateIssues" resultType="io.metersphere.base.domain.IssuesDao">
select issues.id, issues.title, issues.project_id, issues.create_time, issues.update_time,
select issues.id, issues.num, issues.title, issues.project_id, issues.create_time, issues.update_time,
issues.description, issues.status, issues.platform, issues.custom_fields,
issues.lastmodify
from issues

View File

@ -1,10 +1,7 @@
package io.metersphere.track.issue;
import com.alibaba.fastjson.JSONArray;
import io.metersphere.base.domain.IssuesWithBLOBs;
import io.metersphere.base.domain.ServiceIntegration;
import io.metersphere.base.domain.TestCaseIssues;
import io.metersphere.base.domain.TestCaseIssuesExample;
import io.metersphere.base.domain.*;
import io.metersphere.base.mapper.IssuesMapper;
import io.metersphere.base.mapper.TestCaseIssuesMapper;
import io.metersphere.base.mapper.ext.ExtIssuesMapper;

View File

@ -18,7 +18,11 @@
<ms-table-column
:label="$t('test_track.issue.id')"
prop="id">
prop="id" v-if="false">
</ms-table-column>
<ms-table-column
:label="$t('test_track.issue.id')"
prop="num">
</ms-table-column>
<ms-table-column

View File

@ -17,7 +17,11 @@
<ms-table-column
:label="$t('test_track.issue.id')"
prop="id">
prop="id" v-if="false">
</ms-table-column>
<ms-table-column
:label="$t('test_track.issue.id')"
prop="num">
</ms-table-column>
<ms-table-column