潘志宝
2024-12-15 c50decb8e57c032f7bb8c52565ce8b8dece27441
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/interceptor/DataScope.java
@@ -1,36 +1,28 @@
///**
// * Copyright (c) 2018 人人开源 All rights reserved.
// *
// * https://www.renren.io
// *
// * 版权所有,侵权必究!
// */
//
//package com.iailab.module.common.interceptor;
//
///**
// * 数据范围
// *
// * @author Mark sunlightcs@gmail.com
// * @since 1.0.0
// */
//public class DataScope {
//    private String sqlFilter;
//
//    public DataScope(String sqlFilter) {
//        this.sqlFilter = sqlFilter;
//    }
//
//    public String getSqlFilter() {
//        return sqlFilter;
//    }
//
//    public void setSqlFilter(String sqlFilter) {
//        this.sqlFilter = sqlFilter;
//    }
//
//    @Override
//    public String toString() {
//        return this.sqlFilter;
//    }
//}
package com.iailab.module.data.common.interceptor;
/**
 * 数据范围
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0
 */
public class DataScope {
    private String sqlFilter;
    public DataScope(String sqlFilter) {
        this.sqlFilter = sqlFilter;
    }
    public String getSqlFilter() {
        return sqlFilter;
    }
    public void setSqlFilter(String sqlFilter) {
        this.sqlFilter = sqlFilter;
    }
    @Override
    public String toString() {
        return this.sqlFilter;
    }
}