31 lines
530 B
Java
31 lines
530 B
Java
|
package aiyh.utils.sqlUtil.sqlResult.impl;
|
||
|
|
||
|
import aiyh.utils.sqlUtil.sqlResult.SqlResult;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* @author EBU7-dev1-ayh
|
||
|
* @date 2021/8/23 0023 14:39
|
||
|
* prepSqlResult
|
||
|
*/
|
||
|
|
||
|
|
||
|
public class PrepSqlResultImpl implements SqlResult {
|
||
|
private final String sqlStr;
|
||
|
private final List<Object> args;
|
||
|
|
||
|
public PrepSqlResultImpl(String sqlStr, List<Object> args) {
|
||
|
this.sqlStr = sqlStr;
|
||
|
this.args = args;
|
||
|
}
|
||
|
|
||
|
public String getSqlStr() {
|
||
|
return sqlStr;
|
||
|
}
|
||
|
|
||
|
public List<Object> getArgs() {
|
||
|
return args;
|
||
|
}
|
||
|
}
|