and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, apply_theme, form_id, apply_user, dept_id, flow_result, flow_status, cc_list,
flow_name, flow_type, flow_post, flow_id, task_id, return_status, last_main_log_id,
condition_map, status, created_by, created_at, updated_by, updated_at, group_id,
remark
delete from flow_main
where id = #{id,jdbcType=VARCHAR}
delete from flow_main
insert into flow_main (id, apply_theme, form_id,
apply_user, dept_id, flow_result,
flow_status, cc_list, flow_name,
flow_type, flow_post, flow_id,
task_id, return_status, last_main_log_id,
condition_map, status, created_by,
created_at, updated_by, updated_at,
group_id, remark)
values (#{id,jdbcType=VARCHAR}, #{applyTheme,jdbcType=VARCHAR}, #{formId,jdbcType=VARCHAR},
#{applyUser,jdbcType=VARCHAR}, #{deptId,jdbcType=VARCHAR}, #{flowResult,jdbcType=INTEGER},
#{flowStatus,jdbcType=INTEGER}, #{ccList,jdbcType=VARCHAR}, #{flowName,jdbcType=VARCHAR},
#{flowType,jdbcType=VARCHAR}, #{flowPost,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR},
#{taskId,jdbcType=VARCHAR}, #{returnStatus,jdbcType=INTEGER}, #{lastMainLogId,jdbcType=VARCHAR},
#{conditionMap,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createdBy,jdbcType=VARCHAR},
#{createdAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP},
#{groupId,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR})
insert into flow_main
id,
apply_theme,
form_id,
apply_user,
dept_id,
flow_result,
flow_status,
cc_list,
flow_name,
flow_type,
flow_post,
flow_id,
task_id,
return_status,
last_main_log_id,
condition_map,
status,
created_by,
created_at,
updated_by,
updated_at,
group_id,
remark,
#{id,jdbcType=VARCHAR},
#{applyTheme,jdbcType=VARCHAR},
#{formId,jdbcType=VARCHAR},
#{applyUser,jdbcType=VARCHAR},
#{deptId,jdbcType=VARCHAR},
#{flowResult,jdbcType=INTEGER},
#{flowStatus,jdbcType=INTEGER},
#{ccList,jdbcType=VARCHAR},
#{flowName,jdbcType=VARCHAR},
#{flowType,jdbcType=VARCHAR},
#{flowPost,jdbcType=VARCHAR},
#{flowId,jdbcType=VARCHAR},
#{taskId,jdbcType=VARCHAR},
#{returnStatus,jdbcType=INTEGER},
#{lastMainLogId,jdbcType=VARCHAR},
#{conditionMap,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{createdBy,jdbcType=VARCHAR},
#{createdAt,jdbcType=TIMESTAMP},
#{updatedBy,jdbcType=VARCHAR},
#{updatedAt,jdbcType=TIMESTAMP},
#{groupId,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
update flow_main
id = #{record.id,jdbcType=VARCHAR},
apply_theme = #{record.applyTheme,jdbcType=VARCHAR},
form_id = #{record.formId,jdbcType=VARCHAR},
apply_user = #{record.applyUser,jdbcType=VARCHAR},
dept_id = #{record.deptId,jdbcType=VARCHAR},
flow_result = #{record.flowResult,jdbcType=INTEGER},
flow_status = #{record.flowStatus,jdbcType=INTEGER},
cc_list = #{record.ccList,jdbcType=VARCHAR},
flow_name = #{record.flowName,jdbcType=VARCHAR},
flow_type = #{record.flowType,jdbcType=VARCHAR},
flow_post = #{record.flowPost,jdbcType=VARCHAR},
flow_id = #{record.flowId,jdbcType=VARCHAR},
task_id = #{record.taskId,jdbcType=VARCHAR},
return_status = #{record.returnStatus,jdbcType=INTEGER},
last_main_log_id = #{record.lastMainLogId,jdbcType=VARCHAR},
condition_map = #{record.conditionMap,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
created_by = #{record.createdBy,jdbcType=VARCHAR},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_by = #{record.updatedBy,jdbcType=VARCHAR},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
group_id = #{record.groupId,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
update flow_main
set id = #{record.id,jdbcType=VARCHAR},
apply_theme = #{record.applyTheme,jdbcType=VARCHAR},
form_id = #{record.formId,jdbcType=VARCHAR},
apply_user = #{record.applyUser,jdbcType=VARCHAR},
dept_id = #{record.deptId,jdbcType=VARCHAR},
flow_result = #{record.flowResult,jdbcType=INTEGER},
flow_status = #{record.flowStatus,jdbcType=INTEGER},
cc_list = #{record.ccList,jdbcType=VARCHAR},
flow_name = #{record.flowName,jdbcType=VARCHAR},
flow_type = #{record.flowType,jdbcType=VARCHAR},
flow_post = #{record.flowPost,jdbcType=VARCHAR},
flow_id = #{record.flowId,jdbcType=VARCHAR},
task_id = #{record.taskId,jdbcType=VARCHAR},
return_status = #{record.returnStatus,jdbcType=INTEGER},
last_main_log_id = #{record.lastMainLogId,jdbcType=VARCHAR},
condition_map = #{record.conditionMap,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
created_by = #{record.createdBy,jdbcType=VARCHAR},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_by = #{record.updatedBy,jdbcType=VARCHAR},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
group_id = #{record.groupId,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR}
update flow_main
apply_theme = #{applyTheme,jdbcType=VARCHAR},
form_id = #{formId,jdbcType=VARCHAR},
apply_user = #{applyUser,jdbcType=VARCHAR},
dept_id = #{deptId,jdbcType=VARCHAR},
flow_result = #{flowResult,jdbcType=INTEGER},
flow_status = #{flowStatus,jdbcType=INTEGER},
cc_list = #{ccList,jdbcType=VARCHAR},
flow_name = #{flowName,jdbcType=VARCHAR},
flow_type = #{flowType,jdbcType=VARCHAR},
flow_post = #{flowPost,jdbcType=VARCHAR},
flow_id = #{flowId,jdbcType=VARCHAR},
task_id = #{taskId,jdbcType=VARCHAR},
return_status = #{returnStatus,jdbcType=INTEGER},
last_main_log_id = #{lastMainLogId,jdbcType=VARCHAR},
condition_map = #{conditionMap,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
created_by = #{createdBy,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_by = #{updatedBy,jdbcType=VARCHAR},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
group_id = #{groupId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update flow_main
set apply_theme = #{applyTheme,jdbcType=VARCHAR},
form_id = #{formId,jdbcType=VARCHAR},
apply_user = #{applyUser,jdbcType=VARCHAR},
dept_id = #{deptId,jdbcType=VARCHAR},
flow_result = #{flowResult,jdbcType=INTEGER},
flow_status = #{flowStatus,jdbcType=INTEGER},
cc_list = #{ccList,jdbcType=VARCHAR},
flow_name = #{flowName,jdbcType=VARCHAR},
flow_type = #{flowType,jdbcType=VARCHAR},
flow_post = #{flowPost,jdbcType=VARCHAR},
flow_id = #{flowId,jdbcType=VARCHAR},
task_id = #{taskId,jdbcType=VARCHAR},
return_status = #{returnStatus,jdbcType=INTEGER},
last_main_log_id = #{lastMainLogId,jdbcType=VARCHAR},
condition_map = #{conditionMap,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
created_by = #{createdBy,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_by = #{updatedBy,jdbcType=VARCHAR},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
group_id = #{groupId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}