fix: 排序字段初始化错误

This commit is contained in:
chenjianxing 2021-09-09 15:44:24 +08:00 committed by jianxing
parent 806bad3206
commit 38face01c9
3 changed files with 3 additions and 3 deletions

View File

@ -465,7 +465,7 @@
select DISTINCT project_id from api_scenario;
</select>
<select id="getIdsOrderByCreateTime" resultType="java.lang.String">
select id from api_scenario where project_id = #{projectId} order by create_time DESC;
select id from api_scenario where project_id = #{projectId} order by create_time ASC;
</select>
<select id="getLastOrder" resultType="java.lang.Long">

View File

@ -580,7 +580,7 @@
select DISTINCT project_id from api_test_case;
</select>
<select id="getIdsOrderByCreateTime" resultType="java.lang.String">
select id from api_test_case where project_id = #{projectId} order by create_time DESC;
select id from api_test_case where project_id = #{projectId} order by create_time ASC;
</select>
<select id="getPreOrder" resultType="java.lang.Long">
select `order` from api_test_case where project_id = #{projectId}

View File

@ -534,7 +534,7 @@
select DISTINCT project_id from test_case;
</select>
<select id="getIdsOrderByCreateTime" resultType="java.lang.String">
select id from test_case where project_id = #{projectId} order by create_time DESC;
select id from test_case where project_id = #{projectId} order by create_time ASC;
</select>
<select id="getLastOrder" resultType="java.lang.Long">