数据处理代码+同步加盟商
This commit is contained in:
@@ -428,6 +428,17 @@
|
||||
and parent_id = #{regionId}
|
||||
and region_type = #{regionType}
|
||||
</select>
|
||||
<select id="getRegionByNameListAndIsPath" resultType="com.cool.store.entity.RegionDO">
|
||||
select <include refid="fields"/>
|
||||
from region_${enterpriseId}
|
||||
where deleted = 0
|
||||
<if test="regionNameList != null and regionNameList.size() >0">
|
||||
and name in (
|
||||
<foreach collection="regionNameList" separator="," item="region">#{region}</foreach>
|
||||
)
|
||||
</if>
|
||||
and region_type = 'path'
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user