package cn.qinys.platform.mobile.mapper;

import cn.qinys.platform.entity.wishing.WishingTreeExtension;
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-06-07 14:53
 **/
@Mapper
public interface WishingTreeExtensionMapper extends BaseMapper<WishingTreeExtension> {


    @Select("SELECT * FROM wishing_tree_extension WHERE tree_id = #{treeId} LIMIT 1")
    WishingTreeExtension selectByTreeId(@Param("treeId") Integer treeId);
}
