多店铺需求

This commit is contained in:
Tankaikai
2025-04-07 15:16:36 +08:00
parent 982aab3108
commit ed1bd44f6a
12 changed files with 463 additions and 7 deletions

View File

@@ -3,4 +3,14 @@
<mapper namespace="com.czg.service.account.mapper.ShopConfigMapper">
<select id="findBranchList" resultType="com.czg.account.dto.ShopBranchDTO">
select t1.*,
t2.shop_name,
t2.phone,
t3.account
from tb_shop_config t1
left join tb_shop_info t2 on t1.id = t2.id
left join sys_user t3 on t1.id = t3.id
where t1.main_id = #{shopId}
</select>
</mapper>