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; }