AiToolDetailParamsMapper.java 394 Bytes
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 AiToolDetailParamsMapper {

    // XML配置方式
    @Select("SELECT * FROM ai_tool_detail_params")
    List<ParamRule> findAll();
}