feat:系统建店相关代码
refactor:鲜丰系统API回调优化
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user