From c50decb8e57c032f7bb8c52565ce8b8dece27441 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期日, 15 十二月 2024 13:19:52 +0800 Subject: [PATCH] DataQualityEnum --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/interceptor/DataScope.java | 64 ++++++++++++++------------------ 1 files changed, 28 insertions(+), 36 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/interceptor/DataScope.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/interceptor/DataScope.java index bd08683..9280c89 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/interceptor/DataScope.java +++ b/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; -// } -//} \ No newline at end of file +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; + } +} \ No newline at end of file -- Gitblit v1.9.3