|
@@ -102,7 +102,7 @@ |
|
|
<if test="req.userType != null and req.userType == 'region'"> |
|
|
<if test="req.userType != null and req.userType == 'region'"> |
|
|
<if test="req.regionCodes != null"> |
|
|
<if test="req.regionCodes != null"> |
|
|
and p.area_code in |
|
|
and p.area_code in |
|
|
<foreach close=")" collection="regionCodes" item="code" open="(" separator=","> |
|
|
|
|
|
|
|
|
<foreach close=")" collection="req.regionCodes" item="code" open="(" separator=","> |
|
|
#{code} |
|
|
#{code} |
|
|
</foreach> |
|
|
</foreach> |
|
|
</if> |
|
|
</if> |
|
@@ -189,7 +189,7 @@ |
|
|
<if test="req.userType != null and req.userType == 'region'"> |
|
|
<if test="req.userType != null and req.userType == 'region'"> |
|
|
<if test="req.regionCodes != null"> |
|
|
<if test="req.regionCodes != null"> |
|
|
and b.base_area_code in |
|
|
and b.base_area_code in |
|
|
<foreach close=")" collection="regionCodes" item="code" open="(" separator=","> |
|
|
|
|
|
|
|
|
<foreach close=")" collection="req.regionCodes" item="code" open="(" separator=","> |
|
|
concat(#{code},'000') |
|
|
concat(#{code},'000') |
|
|
</foreach> |
|
|
</foreach> |
|
|
</if> |
|
|
</if> |
|
|