提交 | 用户 | 时间
|
4d3533
|
1 |
package com.iailab.module.data.common.interceptor; |
潘 |
2 |
|
|
3 |
/** |
|
4 |
* 数据范围 |
|
5 |
* |
|
6 |
* @author Mark sunlightcs@gmail.com |
|
7 |
* @since 1.0.0 |
|
8 |
*/ |
|
9 |
public class DataScope { |
|
10 |
private String sqlFilter; |
|
11 |
|
|
12 |
public DataScope(String sqlFilter) { |
|
13 |
this.sqlFilter = sqlFilter; |
|
14 |
} |
|
15 |
|
|
16 |
public String getSqlFilter() { |
|
17 |
return sqlFilter; |
|
18 |
} |
|
19 |
|
|
20 |
public void setSqlFilter(String sqlFilter) { |
|
21 |
this.sqlFilter = sqlFilter; |
|
22 |
} |
|
23 |
|
|
24 |
@Override |
|
25 |
public String toString() { |
|
26 |
return this.sqlFilter; |
|
27 |
} |
|
28 |
} |