package com.xly.mapper; import com.xly.entity.SceneDto; import org.apache.ibatis.annotations.*; import org.springframework.stereotype.Repository; import java.util.List; @Repository @Mapper public interface SceneMapper { // XML配置方式 @Select("SELECT A.* FROM ai_agent AS A order by iOrder") List findAll(); }