master:客户销售列表排序调优;
parent
07dfcba603
commit
89bf52605f
|
|
@ -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>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue