package com.xly.mapper; import com.xly.entity.ParamRule; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; import java.util.List; @Repository @Mapper public interface ParamRuleMapper { // XML配置方式 @Select("SELECT * FROM ai_tool_detail_params") List findAll(); }