数据处理代码+同步加盟商

This commit is contained in:
shuo.wang
2025-07-14 10:09:16 +08:00
parent 5a0dd61af8
commit 2b0c1a6404
14 changed files with 189 additions and 11 deletions

View File

@@ -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>