多店铺需求

This commit is contained in:
Tankaikai 2025-04-08 15:23:08 +08:00
parent 54b5b168bb
commit a40ad92399
1 changed files with 2 additions and 2 deletions

View File

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