多店铺需求

This commit is contained in:
Tankaikai
2025-04-07 18:11:48 +08:00
parent 1eafd54536
commit 18b2c536f3
5 changed files with 15 additions and 8 deletions

View File

@@ -12,5 +12,8 @@
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}
<if test="branchName != null and branchName != ''">
and t2.shop_name like concat('%', #{branchName}, '%')
</if>
</select>
</mapper>