修改排序顺序
This commit is contained in:
parent
479cfce7ff
commit
4d9fdcae7a
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue