package cn.autoform.web.mapper.formbase;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import org.apache.ibatis.annotations.MapKey;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import cn.autoform.bean.TemplateManagerOutput;
|
import cn.autoform.db.entity.ColunmsFieldEntity;
|
import cn.autoform.db.entity.FieldPropertyEntity;
|
import cn.autoform.db.entity.FormBaseEntity;
|
import cn.autoform.db.entity.FormEventEntity;
|
import cn.autoform.db.entity.FormFieldEntity;
|
import cn.autoform.db.entity.FormInterfaceEntity;
|
import cn.autoform.db.entity.FormVersionEntity;
|
import cn.autoform.db.entity.FormdataManagerEntity;
|
import cn.autoform.db.entity.FormdatsourceEntity;
|
import cn.autoform.db.entity.FormresourceEntity;
|
import cn.autoform.db.entity.FormsettingEntity;
|
import cn.autoform.db.entity.TabConfigurationEntity;
|
|
@Mapper
|
public interface FormBaseMapper {
|
|
//↓↓↓↓↓↓↓↓↓↓↓复制相关↓↓↓↓↓↓↓↓↓↓↓//
|
//复制数据源
|
void copyDataSorse(@Param("param")List<FormdatsourceEntity> param);
|
//复制接口注册
|
void copyInterface(@Param("param")List<FormInterfaceEntity> param);
|
//复制页面事件
|
void copyFormEvent(@Param("param")List<FormEventEntity> param);
|
//复制资源文件
|
void copyFormResource(@Param("param")List<FormresourceEntity> param);
|
//复制工具栏设置
|
void copyFormsetting(@Param("param")List<FormsettingEntity> param);
|
//复制选项卡配置
|
void copyTabConfiguration(@Param("param")List<TabConfigurationEntity> param);
|
//↑↑↑↑↑↑↑↑↑↑↑↑↑复制相关↑↑↑↑↑↑↑↑↑↑↑↑↑//
|
|
//查询/////
|
List<FormdatsourceEntity> queryDataSorse(@Param("formID")String formID, @Param("tenantID")String tenantID,@Param("accformID")String accformID);
|
List<FormInterfaceEntity> queryInterface(@Param("formID")String formID, @Param("tenantID")String tenantID,@Param("accformID")String accformID);
|
List<FormEventEntity> queryFormEvent(@Param("formID")String formID, @Param("tenantID")String tenantID,@Param("accformID")String accformID);
|
List<FormresourceEntity> queryFormResource(@Param("formID")String formID, @Param("tenantID")String tenantID,@Param("accformID")String accformID);
|
List<FormsettingEntity> queryFormsetting(@Param("formID")String formID, @Param("tenantID")String tenantID,@Param("accformID")String accformID);
|
List<TabConfigurationEntity> queryTabConfiguration(@Param("formID")String formID, @Param("tenantID")String tenantID,@Param("accformID")String accformID);
|
//查询/////
|
|
|
Integer queryFromBaseNum(@Param("formID") String formID, @Param("tenantID") String tenantID);
|
|
void deleteFormField(@Param("formID") String formID, @Param("tenantID") String tenantID);
|
|
void deleteFormFieldProperty(@Param("formID") String formID, @Param("tenantID") String tenantID);
|
|
int addFormBase(FormBaseEntity formBaseObj);
|
|
void addFormField(FormFieldEntity formFieldObj);
|
|
void addFormFieldProperty(List<FieldPropertyEntity> fieldPropertyObj);
|
|
FormBaseEntity getFormBaseInfo(@Param("tenantID") String tenantID, @Param("formID") String formID);
|
|
FormBaseEntity getFormModeBaseInfo(@Param("tenantID") String tenantID, @Param("formID") String formID);
|
|
TemplateManagerOutput getFormModeFomBaseInfo(@Param("tenantID") String tenantID, @Param("formID") String formID);
|
|
int updateFormBaseInfo(FormBaseEntity entity);
|
|
int updateFormBaseInfo2(FormBaseEntity entity);
|
|
int createFormBaseInfo(FormBaseEntity entity);
|
|
void addFormdataManager(FormdataManagerEntity entity);
|
|
void excuteFormDataTable(@Param("excuteSql") String excuteSql);
|
|
FormdataManagerEntity queryFormdataManagerNum(FormdataManagerEntity entity);
|
|
List<ColunmsFieldEntity> showColumns(@Param("showColumnsSql") String showColumnsSql);
|
|
@MapKey("formdataNum")
|
Map<Integer, FormdataManagerEntity> queryFormdataManagerNum2(FormdataManagerEntity entity);
|
|
void deleteFormdataManager(FormdataManagerEntity entity);
|
|
int querySubFormName(@Param("formDataTable") String formDataTable);
|
|
void excuteUpdateSubFormName(@Param("excuteUpdateSql") String excuteUpdateSql);
|
|
List<FormFieldEntity> selectFormField(@Param("selectFormFieldSql") String selectFormFieldSql);
|
|
void excuteAlterSubField(@Param("excuteAlterSql") String excuteAlterSql);
|
|
void excuteAlterDataState(@Param("excuteAlterDataStateSql") String excuteAlterDataStateSql);
|
|
FormdataManagerEntity queryFormdataManager(FormdataManagerEntity entity);
|
|
List<String> selectFormDataTable(@Param("formID") String formID, @Param("tenantID") String tenantID);
|
|
List<Map<String,Object>> getFormHaveSub(@Param("formID") String formID, @Param("tenantID") String tenantID);
|
|
int updateFormInfo(FormVersionEntity form);
|
|
int deleteformTable(@Param("formID") String formId);
|
}
|