|
@@ -17,10 +17,10 @@
|
|
AND (lower(unload_city) like lower(CONCAT('%',#{unLoadingPlaceCity},'%')))
|
|
AND (lower(unload_city) like lower(CONCAT('%',#{unLoadingPlaceCity},'%')))
|
|
</if>
|
|
</if>
|
|
<if test="loadingPlace != null and loadingPlace != ''">
|
|
<if test="loadingPlace != null and loadingPlace != ''">
|
|
- AND (lower(send_area) like lower(CONCAT('%',#{loadingPlace},'%')))
|
|
|
|
|
|
+ AND send_area in (${loadingPlace})
|
|
</if>
|
|
</if>
|
|
<if test="unLoadingPlace != null and unLoadingPlace != ''">
|
|
<if test="unLoadingPlace != null and unLoadingPlace != ''">
|
|
- AND (lower(unload_area) like lower(CONCAT('%',#{unLoadingPlace},'%')))
|
|
|
|
|
|
+ AND unload_area in (${unLoadingPlace})
|
|
</if>
|
|
</if>
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType == 1">
|
|
<if test="searchType == 1">
|
|
@@ -84,10 +84,10 @@
|
|
AND (lower(unload_city) like lower(CONCAT('%',#{unLoadingPlaceCity},'%')))
|
|
AND (lower(unload_city) like lower(CONCAT('%',#{unLoadingPlaceCity},'%')))
|
|
</if>
|
|
</if>
|
|
<if test="loadingPlace != null and loadingPlace != ''">
|
|
<if test="loadingPlace != null and loadingPlace != ''">
|
|
- AND (lower(send_area) like lower(CONCAT('%',#{loadingPlace},'%')))
|
|
|
|
|
|
+ AND send_area in (${loadingPlace})
|
|
</if>
|
|
</if>
|
|
<if test="unLoadingPlace != null and unLoadingPlace != ''">
|
|
<if test="unLoadingPlace != null and unLoadingPlace != ''">
|
|
- AND (lower(unload_area) like lower(CONCAT('%',#{unLoadingPlace},'%')))
|
|
|
|
|
|
+ AND unload_area in (${unLoadingPlace})
|
|
</if>
|
|
</if>
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType == 1">
|
|
<if test="searchType == 1">
|
|
@@ -148,8 +148,17 @@
|
|
<if test="commonId != null and commonId != ''">
|
|
<if test="commonId != null and commonId != ''">
|
|
AND common_id = #{commonId}
|
|
AND common_id = #{commonId}
|
|
</if>
|
|
</if>
|
|
- <if test="loadingPlaceCity != null and loadingPlaceCity != ''">
|
|
|
|
- AND (lower(send_city) not like lower(CONCAT('%',#{loadingPlaceCity},'%')))
|
|
|
|
|
|
+ <if test="loadingPlaceCity != null and loadingPlaceCity != '' and loadingPlace == null and loadingPlace == ''">
|
|
|
|
+ AND (lower(send_city) not like lower(CONCAT('%',#{loadingPlaceCity},'%')))
|
|
|
|
+ </if>
|
|
|
|
+ <if test="unLoadingPlaceCity != null and unLoadingPlaceCity != '' and unLoadingPlace == null and unLoadingPlace == ''">
|
|
|
|
+ AND (lower(unload_city) not like lower(CONCAT('%',#{unLoadingPlaceCity},'%')))
|
|
|
|
+ </if>
|
|
|
|
+ <if test="loadingPlace != null and loadingPlace != ''">
|
|
|
|
+ AND send_area not in (${loadingPlace})
|
|
|
|
+ </if>
|
|
|
|
+ <if test="unLoadingPlace != null and unLoadingPlace != ''">
|
|
|
|
+ AND unload_area not in (${unLoadingPlace})
|
|
</if>
|
|
</if>
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType == 1">
|
|
<if test="searchType == 1">
|