feature:优化排序

orderBy
路明慧 10 months ago
parent cb163ec8e4
commit bdc07ad666
  1. 4
      order-management-invoice/src/main/resources/mybatis/mapper/OrderInvoiceInfoMapper.xml

@ -1650,10 +1650,10 @@
order by check_time desc order by check_time desc
</when> </when>
<when test="map.orderBy !=null and map.orderBy == 'pzhAsc' "> <when test="map.orderBy !=null and map.orderBy == 'pzhAsc' ">
order by oi.byzd2 asc,kprq DESC order by CONVERT(oi.byzd2, UNSIGNED) asc,kprq DESC
</when> </when>
<when test="map.orderBy !=null and map.orderBy == 'pzhDesc' "> <when test="map.orderBy !=null and map.orderBy == 'pzhDesc' ">
order by oi.byzd2 desc,kprq DESC order by CONVERT(oi.byzd2, UNSIGNED) desc,kprq DESC
</when> </when>
<otherwise> <otherwise>
ORDER BY kprq DESC ORDER BY kprq DESC

Loading…
Cancel
Save