fix(测试跟踪): 自动重新提审,保存用例报错

This commit is contained in:
chenjianxing 2023-02-17 11:12:30 +08:00 committed by jianxing
parent 20d7a57ea9
commit db0878ef39
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<select id="selectForReReview" resultType="io.metersphere.base.domain.TestCaseReviewTestCase">
select id, case_id, status, review_id
from test_case_review_test_case
where case_id = #{caseId} and is_del = 0 (status = 'Pass' or status = 'UnPass' or status = 'Underway');
where case_id = #{caseId} and is_del = 0 and (status = 'Pass' or status = 'UnPass' or status = 'Underway');
</select>
<select id="selectForReviewerChange" resultType="io.metersphere.base.domain.TestCaseReviewTestCase">
select id, case_id, status, review_id