dangsn
2024-12-03 d0ae279ff3b83358d1c07f4481a041c4ad335026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.vci.web.service;
 
import com.vci.corba.common.PLException;
import com.vci.corba.framework.data.GrandValue;
import com.vci.starter.web.pagemodel.BaseResult;
 
import java.util.List;
 
/**
 * 数据权限的控制器
 * @author yuxc
 * @date 2024-11-25
 */
public interface OsDataAuthServiceI {
 
    BaseResult getData(String typeName) throws PLException;
    /**
     * 保存数据权限数据
     * @return 保存结果
     */
    BaseResult saveGrand(List<GrandValue> grandValues) throws PLException;
 
    /**
     * 删除数据权限
     * @param typeName 业务类型
     * @param ruleName 规则名称
     * @return 删除结果
     */
    BaseResult deleteTypeRuleGrand(String typeName, String ruleName) throws PLException;
}