JpaPageResultsSqlCache.java 1.1 KB
Newer Older
M
MaxKey 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 * Copyright [2021] [MaxKey of copyright http://www.maxkey.top]
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 

M
MaxKey 已提交
18
package org.dromara.mybatis.jpa.entity;
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
19 20 21

import org.apache.ibatis.mapping.BoundSql;

M
MaxKey 已提交
22
public class JpaPageResultsSqlCache {
M
update  
MaxKey 已提交
23
	
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
24
	String sql;
M
update  
MaxKey 已提交
25
	
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
26 27 28
	BoundSql boundSql;
	
	
M
MaxKey 已提交
29
	public JpaPageResultsSqlCache(String sql, BoundSql boundSql) {
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
30 31 32 33
		super();
		this.sql = sql;
		this.boundSql = boundSql;
	}
M
update  
MaxKey 已提交
34

MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
35 36 37
	public String getSql() {
		return sql;
	}
M
update  
MaxKey 已提交
38

MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
39 40 41
	public void setSql(String sql) {
		this.sql = sql;
	}
M
update  
MaxKey 已提交
42

MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
43 44 45
	public BoundSql getBoundSql() {
		return boundSql;
	}
M
update  
MaxKey 已提交
46

MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
47 48 49
	public void setBoundSql(BoundSql boundSql) {
		this.boundSql = boundSql;
	}
M
update  
MaxKey 已提交
50

MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
51
}