fix: 账户排序字段统一修改。

This commit is contained in:
tianyongbao
2025-12-24 17:43:26 +08:00
parent 0f11be82a6
commit 8233adff4f
4 changed files with 12 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
<!-- 数据范围过滤 -->
${params.dataScope}
order by a.type asc,bcl.debit_type asc,a.update_time desc
order by a.status asc,a.type asc,bcl.debit_type asc,a.update_time desc
</select>
<select id="selectAccountsById" parameterType="Long" resultMap="AccountsResult">

View File

@@ -91,7 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by a.activation_date desc
</if>
<if test="staticFlag == null or staticFlag == ''">
order by a.type asc, a.bill_date asc,a.debit_type asc,a.update_time desc
order by a.status asc,a.type asc, a.bill_date asc,a.debit_type asc,a.update_time desc
</if>
</select>

View File

@@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
<!-- 数据范围过滤 -->
${params.dataScope}
order by a.create_time desc
order by a.status asc,a.create_time desc
</select>
<select id="selectFutureStocksById" parameterType="Long" resultMap="FutureStocksResult">