接口 ComponentFormSave_I
- 所有已知实现类:
Cascader,Checkbox,CheckboxRadioBase,ColorPicker,ColorPickerLay,Date,Date_Layui,Editor,Editor_UE,FileUpload,PopCheckbox,PopRadio,PopTree,Radio,Select,Select2,Self,StarScore,Text,Textarea,TextInput
public interface ComponentFormSave_I
Description: 组件表单保存接口
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2015年3月20日
-
方法概要
修饰符和类型方法说明String[]checkValue(ModuleContext context) 校验值是否有效String[]formSave(ModuleContext context, int processFlag) 组件在表单保存时实现的逻辑获取数据字典对象getId()组件编号voidprocessSql(ModuleContext context, Map<String, List<String>> colMap, Map<String, List<String>> whereColMap, Map<String, List<String>> colTypeMap, Map<String, List<String>> whereTypeMap, Map<String, List<ColValue>> objMap, Map<String, List<ColValue>> whereObjMap, Map<String, List<String>> fixColMap, Map<String, List<ColValue>> fixObjMap, Map<String, String> operateTypeMap, int processFlag) 表单保存
-
方法详细资料
-
getId
String getId()组件编号- 返回:
- 编号
-
getDictAttr
DictAttr getDictAttr()获取数据字典对象- 返回:
- 字典对象
-
formSave
组件在表单保存时实现的逻辑- 参数:
context- 模块上下文processFlag- 操作类型- 返回:
- 结果
-
processSql
void processSql(ModuleContext context, Map<String, List<String>> colMap, Map<String, List<String>> whereColMap, Map<String, List<String>> colTypeMap, Map<String, List<String>> whereTypeMap, Map<String, List<ColValue>> objMap, Map<String, List<ColValue>> whereObjMap, Map<String, List<String>> fixColMap, Map<String, List<ColValue>> fixObjMap, Map<String, String> operateTypeMap, int processFlag) 表单保存- 参数:
context- 上下文colMap- 列whereColMap- 条件中的列colTypeMap- 列类型whereTypeMap- 条件中的列类型objMap- 数据whereObjMap- 条件中的数据fixColMap- 固定列fixObjMap- 固定列数据operateTypeMap- 操作类型processFlag- 操作类型
-
checkValue
校验值是否有效- 参数:
context- 模块上下文- 返回:
- 结果{"true",""}
-