修改排序顺序

This commit is contained in:
lvleigang 2024-06-03 08:45:36 +08:00
parent 479cfce7ff
commit 4d9fdcae7a
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@
<if test="companyId != null and companyId != ''">and company_id like concat('%',#{companyId},'%')</if>
and sts='Y'
</trim>
<if test=" sort == null or sort == ''.toString() ">order by sorts asc</if>
<if test=" sort == null or sort == ''.toString() ">order by sorts desc</if>
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
</select>