package com.xxj.mybatis.cfg;
/**
* @author xxj
* 用于封装执行的sql语句和结果类型的全限定类名
*/
public class Mapper {
private String stringSql;//sql语句
private String resultType;//结果类型的全限定类名
public String getStringSql() {
return stringSql;
}
public void setStringSql(String stringSql) {
this.stringSql = stringSql;
}
public String getResultType() {
return resultType;
}
public void setResultType(String resultType) {
this.resultType = resultType;
}
}
自定义Mybatis——Mapper类
最新推荐文章于 2024-09-08 18:06:41 发布