feat:成功开店

This commit is contained in:
苏竹红
2025-07-02 17:12:16 +08:00
parent 02d8adb069
commit 8b94e49334
6 changed files with 33 additions and 10 deletions

View File

@@ -90,6 +90,17 @@
</where>
</select>
<select id="getSubStoreByRegionIds" resultMap="BaseResultMap">
select *
from store_${enterpriseId}
where is_delete = 'effective'
<if test="regionIdList != null and regionIdList.size >0 ">
<foreach collection="regionIdList" item="regionId" separator=" or " open="and (" close=" )">
region_path like concat('%/', #{regionId}, '/%')
</foreach>
</if>
</select>
<select id="list" resultMap="BaseResultMap">
select *
from store_${enterpriseId} where is_delete = 'effective' order by id asc