fix: 排序字段初始化错误
This commit is contained in:
parent
806bad3206
commit
38face01c9
|
@ -465,7 +465,7 @@
|
||||||
select DISTINCT project_id from api_scenario;
|
select DISTINCT project_id from api_scenario;
|
||||||
</select>
|
</select>
|
||||||
<select id="getIdsOrderByCreateTime" resultType="java.lang.String">
|
<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>
|
||||||
|
|
||||||
<select id="getLastOrder" resultType="java.lang.Long">
|
<select id="getLastOrder" resultType="java.lang.Long">
|
||||||
|
|
|
@ -580,7 +580,7 @@
|
||||||
select DISTINCT project_id from api_test_case;
|
select DISTINCT project_id from api_test_case;
|
||||||
</select>
|
</select>
|
||||||
<select id="getIdsOrderByCreateTime" resultType="java.lang.String">
|
<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>
|
||||||
<select id="getPreOrder" resultType="java.lang.Long">
|
<select id="getPreOrder" resultType="java.lang.Long">
|
||||||
select `order` from api_test_case where project_id = #{projectId}
|
select `order` from api_test_case where project_id = #{projectId}
|
||||||
|
|
|
@ -534,7 +534,7 @@
|
||||||
select DISTINCT project_id from test_case;
|
select DISTINCT project_id from test_case;
|
||||||
</select>
|
</select>
|
||||||
<select id="getIdsOrderByCreateTime" resultType="java.lang.String">
|
<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>
|
||||||
|
|
||||||
<select id="getLastOrder" resultType="java.lang.Long">
|
<select id="getLastOrder" resultType="java.lang.Long">
|
||||||
|
|
Loading…
Reference in New Issue