master:客户销售列表排序调优;

pull/1121/head
liujiang 2025-10-19 13:50:37 +08:00
parent 07dfcba603
commit 89bf52605f
1 changed files with 2 additions and 3 deletions

View File

@ -27,10 +27,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="cusName != null and cusName != ''"> AND scpd.store_cus_name like concat('%', #{cusName}, '%')</if>
<if test="prodArtNum != null and prodArtNum != ''"> AND sp.prod_art_num like concat('%', #{prodArtNum}, '%')</if>
ORDER BY
scpd.create_time DESC,
scpd.update_time DESC,
scpd.store_prod_id,
scpd.store_prod_color_id,
scpd.store_cus_id
scpd.store_prod_color_id
</select>