表名问题

This commit is contained in:
2024-09-04 16:35:35 +08:00
parent 2f7b61db7d
commit 929956d66b
4 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@
</select>
<select id="selectAllAndSearch" resultType="com.chaozhanggui.system.cashierservice.entity.TbShopSong">
select *
from fycashier.tb_shop_song where shop_id=#{shopId}
from tb_shop_song where shop_id=#{shopId}
and status=1
<if test="keyWord != null and keyWord != ''">
and name like CONCAT('%',#{keyWord},'%')