fix
This commit is contained in:
@@ -412,8 +412,13 @@
|
||||
region_${enterpriseId}
|
||||
where
|
||||
deleted = 0
|
||||
and
|
||||
<foreach collection="regionIds" separator=" or " open="(" close=")" item="region" > region_path like concat("%/", #{region}, "/%")</foreach>
|
||||
<if test="regionIds != null and regionIds.size() >0">
|
||||
and
|
||||
<foreach collection="regionIds" separator=" or " open="(" close=")" item="region">region_path like
|
||||
concat("%/", #{region}, "/%")
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user