package cn.qinys.platform.mobile.mapper;

import cn.qinys.platform.entity.wishing.WishingUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author lie tan
 * @description
 * @date 2026-05-23 12:41
 **/
@Mapper
public interface WishingUserMapper extends BaseMapper<WishingUser> {

    @Select("SELECT * FROM wishing_user WHERE mobile = #{mobile} AND status = 1 AND is_deleted = 0 LIMIT 1")
    WishingUser selectByMobile(@Param("mobile") String mobile);

}
