fix: 修改sql提高在不同的mysql中兼容性
This commit is contained in:
parent
1482485c9b
commit
7ffb9335e4
|
@ -752,7 +752,7 @@
|
|||
order by `order` desc limit 1;
|
||||
</select>
|
||||
<select id="getApiCaseEnvironment" resultType="java.lang.String">
|
||||
select request ->> '$.useEnvironment' from api_test_case where id = #{caseId}
|
||||
select JSON_UNQUOTE(JSON_EXTRACT(request, '$.useEnvironment')) from api_test_case where id = #{caseId}
|
||||
</select>
|
||||
<update id="deleteToGc" parameterType="io.metersphere.api.dto.definition.ApiTestCaseRequest">
|
||||
update api_test_case
|
||||
|
|
Loading…
Reference in New Issue