许鹏程
2023-05-25 213cc37cbf0b2515a4de56cc1e01813211bad183
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.product.org.admin.service.idel;
 
 
import com.product.core.entity.DataTableEntity;
import com.product.core.entity.FieldSetEntity;
import com.product.core.exception.BaseException;
 
/**
 * 储存过程  接口层
 * @author xin.luo
 * date 2020-05-30 11:58:42
 * interface IProcedureService
 */
public interface IProcedureService {
    /**
     * 运行存储过程语句
     * @param fse 封装存储过程语句的field
     * @return
     * @throws BaseException
     */
    FieldSetEntity runProcedure(FieldSetEntity fse)throws BaseException;
    /**
     * 保存存储过程主表
     * @param fieldSetEntity 存储过程field
     * @return
     * @throws BaseException
     */
    String saveProcedure(FieldSetEntity fieldSetEntity)throws BaseException;
    /**
     * 保存存储过程参数表
     * @param dataTableEntity 存储过程参数数据
     * @return
     * @throws BaseException
     */
    boolean saveProcedureSub(DataTableEntity dataTableEntity)throws BaseException;
    /**
     *删除存储过程
     * @param fs
     * @return 
     * @throws BaseException
     */
    boolean deleteProcedure(FieldSetEntity fs)throws BaseException;
    /**
     * 存储过程语句提取参数
     * @param parameter 参数字符串
     * @param fSetEntity 存储过程Field
     */
    void  getParameter(String parameter,FieldSetEntity fSetEntity)throws BaseException;
    /**
     *获取存储过程详情
     * @param uuid 存储过程uuid
     * @return 
     * @throws BaseException
     */
    FieldSetEntity getProcedureInfo(String uuid)throws BaseException;
    /**
     * 获取所有存储过程列表
     * @param fse 查询条件或分页参数
     * @return
     * @throws BaseException
     */
    DataTableEntity getProcedureAll(FieldSetEntity fse)throws BaseException;
}