多店铺需求
This commit is contained in:
parent
54b5b168bb
commit
a40ad92399
|
|
@ -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>
|
||||
Loading…
Reference in New Issue