|
@@ -182,7 +182,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
and ci.corporate_name like concat('%', #{customerInfoDto.customerName}, '%')
|
|
and ci.corporate_name like concat('%', #{customerInfoDto.customerName}, '%')
|
|
</when>
|
|
</when>
|
|
<when test="customerInfoDto.id == 0">
|
|
<when test="customerInfoDto.id == 0">
|
|
- ORDER BY collectionCount DESC
|
|
|
|
|
|
+ ORDER BY (collectionCount+weight) DESC
|
|
</when>
|
|
</when>
|
|
<when test="customerInfoDto.pid != null and customerInfoDto.pid != ''">
|
|
<when test="customerInfoDto.pid != null and customerInfoDto.pid != ''">
|
|
AND ci.industry_type = #{customerInfoDto.pid}
|
|
AND ci.industry_type = #{customerInfoDto.pid}
|