多店铺需求
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user