feat:系统建店相关代码

refactor:鲜丰系统API回调优化
This commit is contained in:
guohb
2024-04-23 16:21:17 +08:00
parent ed964f4e5f
commit d446d87366
38 changed files with 2445 additions and 63 deletions

View File

@@ -364,6 +364,16 @@
and store_id = #{storeId}
and region_type = 'store'
</select>
<select id="getBigRegionByRegionId" resultType="com.cool.store.entity.RegionDO">
select <include refid="fields"/>
from region_${enterpriseId}
where deleted = 0
and id = (
SELECT parent_id
FROM region_${enterpriseId}
WHERE id = #{regionId}
)
</select>
</mapper>