|
@@ -1,15 +1,13 @@
|
|
|
package com.baomidou.mybatisplus.test.base.mapper.mysql;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-import org.apache.ibatis.annotations.Param;
|
|
|
-import org.apache.ibatis.annotations.ResultType;
|
|
|
-import org.apache.ibatis.annotations.Select;
|
|
|
-
|
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
|
|
import com.baomidou.mybatisplus.test.base.entity.mysql.MysqlData;
|
|
|
import com.baomidou.mybatisplus.test.base.mapper.MyBaseMapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
+import org.apache.ibatis.annotations.Select;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @author miemie
|
|
@@ -17,7 +15,6 @@ import com.baomidou.mybatisplus.test.base.mapper.MyBaseMapper;
|
|
|
*/
|
|
|
public interface MysqlDataMapper extends MyBaseMapper<MysqlData> {
|
|
|
|
|
|
- @ResultType(MysqlData.class)
|
|
|
@Select("select * from mysql_data ${ew.customSqlSegment}")
|
|
|
List<MysqlData> getAll(@Param(Constants.WRAPPER) Wrapper<?> wrapper);
|
|
|
}
|