diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml index 672e65c0e4..61d6c4f39a 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml @@ -502,7 +502,7 @@ and tptc.status = 'Failure' and (tc.status != 'Trash' or tc.status is null) - where tptc.plan_id = #{planId} order by tptc.update_time desc + where tptc.plan_id = #{planId} order by tptc.`order` desc update test_plan_test_case diff --git a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue index 9c1291019b..74c96625b2 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue @@ -74,10 +74,11 @@ - + {{ $t('test_track.review.comment') }} -
+
{{ comments.length }}
@@ -93,7 +94,7 @@ :key="index" :comment="comment" @refresh="getComments" api-url="/test/case"/> -
+
{{ $t('test_track.comment.no_comment') }} @@ -393,7 +394,8 @@ export default { .el-cascader >>> .el-input { cursor: pointer; } -.ms-header{ + +.ms-header { background: #783887; color: white; height: 18px;