|
|
|
@ -85,6 +85,12 @@ |
|
|
|
<if test="queryParams.revenueOwnerPhone != null and queryParams.revenueOwnerPhone != '' "> |
|
|
|
AND dam.phone LIKE CONCAT('%', TRIM(#{queryParams.revenueOwnerPhone}), '%') |
|
|
|
</if> |
|
|
|
<if test="queryParams.storeName != null and queryParams.storeName != '' "> |
|
|
|
AND dao1.full_name LIKE CONCAT('%', TRIM(#{queryParams.storeName}), '%') |
|
|
|
</if> |
|
|
|
<if test="queryParams.operationCenterName != null and queryParams.operationCenterName != '' "> |
|
|
|
AND dao2.full_name LIKE CONCAT('%', TRIM(#{queryParams.operationCenterName}), '%') |
|
|
|
</if> |
|
|
|
<if test="queryParams.createTimeFrom != null and queryParams.createTimeTo != null"> |
|
|
|
and darrr.create_time BETWEEN #{queryParams.createTimeFrom} and #{queryParams.createTimeTo} |
|
|
|
</if> |
|
|
|
@ -129,6 +135,12 @@ |
|
|
|
<if test="queryParams.revenueOwnerPhone != null and queryParams.revenueOwnerPhone != '' "> |
|
|
|
AND dam.phone LIKE CONCAT('%', TRIM(#{queryParams.revenueOwnerPhone}), '%') |
|
|
|
</if> |
|
|
|
<if test="queryParams.storeName != null and queryParams.storeName != '' "> |
|
|
|
AND dao1.full_name LIKE CONCAT('%', TRIM(#{queryParams.storeName}), '%') |
|
|
|
</if> |
|
|
|
<if test="queryParams.operationCenterName != null and queryParams.operationCenterName != '' "> |
|
|
|
AND dao2.full_name LIKE CONCAT('%', TRIM(#{queryParams.operationCenterName}), '%') |
|
|
|
</if> |
|
|
|
<if test="queryParams.createTimeFrom != null and queryParams.createTimeTo != null"> |
|
|
|
and darrr.create_time BETWEEN #{queryParams.createTimeFrom} and #{queryParams.createTimeTo} |
|
|
|
</if> |
|
|
|
|