按modify_time 倒序

This commit is contained in:
xiang2lin 2024-07-10 11:43:02 +08:00
parent 52f61a4308
commit f256761790
1 changed files with 1 additions and 2 deletions

View File

@ -143,8 +143,7 @@
<if test="companyId != null and companyId != ''">and company_id like concat('%',#{companyId},'%')</if> <if test="companyId != null and companyId != ''">and company_id like concat('%',#{companyId},'%')</if>
and sts='Y' and sts='Y'
</trim> </trim>
<if test=" sort == null or sort == ''.toString() ">order by sorts desc</if> order by modify_time desc
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
</select> </select>
<!-- 查询列表 字段采用or格式 --> <!-- 查询列表 字段采用or格式 -->