fix(测试用例): 开启自定义ID未赋值历史数据

This commit is contained in:
shiziyuan9527 2021-04-26 19:44:54 +08:00 committed by 刘瑞斌
parent caec40d1ff
commit fefd850699
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@
</if>
</sql>
<update id="updateTestCaseCustomNumByProjectId">
update test_case set custom_num = num where custom_num is null and project_id = #{projectId}
update test_case set custom_num = num where (custom_num is null or custom_num = '') and project_id = #{projectId}
</update>
<select id="getTestCaseByNotInReview" resultType="io.metersphere.base.domain.TestCase">