1.tb_shop_open_id多条数据查询问题

This commit is contained in:
2024-07-11 15:48:15 +08:00
parent 3591d8f675
commit 4e388ea951

View File

@@ -26,7 +26,7 @@ public interface TbShopOpenIdMapper {
int updateByPrimaryKey(TbShopOpenId record);
@Select("select * from tb_shop_open_id where open_id=#{openId} and shop_id=#{shopId}")
@Select("select * from tb_shop_open_id where open_id=#{openId} and shop_id=#{shopId} limit 1")
TbShopOpenId countByOpenId(@Param("openId") String openId, @Param("shopId") Integer shopId);
@Select("select * from tb_shop_open_id where shop_id=#{shopId} and status=1")