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, flow_main_id, form_id, audit_user, audit_content, audit_result, audit_type, flow_type,
flow_post, flow_id, task_id, next_persons, up_main_log_id, cc_list, push_user_key,
node_name, status, created_by, created_at, group_id, remark
delete from flow_main_log
where id = #{id,jdbcType=VARCHAR}
delete from flow_main_log
insert into flow_main_log (id, flow_main_id, form_id,
audit_user, audit_content, audit_result,
audit_type, flow_type, flow_post,
flow_id, task_id, next_persons,
up_main_log_id, cc_list, push_user_key,
node_name, status, created_by,
created_at, group_id, remark
)
values (#{id,jdbcType=VARCHAR}, #{flowMainId,jdbcType=VARCHAR}, #{formId,jdbcType=VARCHAR},
#{auditUser,jdbcType=VARCHAR}, #{auditContent,jdbcType=VARCHAR}, #{auditResult,jdbcType=VARCHAR},
#{auditType,jdbcType=VARCHAR}, #{flowType,jdbcType=VARCHAR}, #{flowPost,jdbcType=VARCHAR},
#{flowId,jdbcType=VARCHAR}, #{taskId,jdbcType=VARCHAR}, #{nextPersons,jdbcType=VARCHAR},
#{upMainLogId,jdbcType=VARCHAR}, #{ccList,jdbcType=VARCHAR}, #{pushUserKey,jdbcType=VARCHAR},
#{nodeName,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createdBy,jdbcType=VARCHAR},
#{createdAt,jdbcType=TIMESTAMP}, #{groupId,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}
)
insert into flow_main_log
id,
flow_main_id,
form_id,
audit_user,
audit_content,
audit_result,
audit_type,
flow_type,
flow_post,
flow_id,
task_id,
next_persons,
up_main_log_id,
cc_list,
push_user_key,
node_name,
status,
created_by,
created_at,
group_id,
remark,
#{id,jdbcType=VARCHAR},
#{flowMainId,jdbcType=VARCHAR},
#{formId,jdbcType=VARCHAR},
#{auditUser,jdbcType=VARCHAR},
#{auditContent,jdbcType=VARCHAR},
#{auditResult,jdbcType=VARCHAR},
#{auditType,jdbcType=VARCHAR},
#{flowType,jdbcType=VARCHAR},
#{flowPost,jdbcType=VARCHAR},
#{flowId,jdbcType=VARCHAR},
#{taskId,jdbcType=VARCHAR},
#{nextPersons,jdbcType=VARCHAR},
#{upMainLogId,jdbcType=VARCHAR},
#{ccList,jdbcType=VARCHAR},
#{pushUserKey,jdbcType=VARCHAR},
#{nodeName,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{createdBy,jdbcType=VARCHAR},
#{createdAt,jdbcType=TIMESTAMP},
#{groupId,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
update flow_main_log
id = #{record.id,jdbcType=VARCHAR},
flow_main_id = #{record.flowMainId,jdbcType=VARCHAR},
form_id = #{record.formId,jdbcType=VARCHAR},
audit_user = #{record.auditUser,jdbcType=VARCHAR},
audit_content = #{record.auditContent,jdbcType=VARCHAR},
audit_result = #{record.auditResult,jdbcType=VARCHAR},
audit_type = #{record.auditType,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},
next_persons = #{record.nextPersons,jdbcType=VARCHAR},
up_main_log_id = #{record.upMainLogId,jdbcType=VARCHAR},
cc_list = #{record.ccList,jdbcType=VARCHAR},
push_user_key = #{record.pushUserKey,jdbcType=VARCHAR},
node_name = #{record.nodeName,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
created_by = #{record.createdBy,jdbcType=VARCHAR},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
group_id = #{record.groupId,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
update flow_main_log
set id = #{record.id,jdbcType=VARCHAR},
flow_main_id = #{record.flowMainId,jdbcType=VARCHAR},
form_id = #{record.formId,jdbcType=VARCHAR},
audit_user = #{record.auditUser,jdbcType=VARCHAR},
audit_content = #{record.auditContent,jdbcType=VARCHAR},
audit_result = #{record.auditResult,jdbcType=VARCHAR},
audit_type = #{record.auditType,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},
next_persons = #{record.nextPersons,jdbcType=VARCHAR},
up_main_log_id = #{record.upMainLogId,jdbcType=VARCHAR},
cc_list = #{record.ccList,jdbcType=VARCHAR},
push_user_key = #{record.pushUserKey,jdbcType=VARCHAR},
node_name = #{record.nodeName,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
created_by = #{record.createdBy,jdbcType=VARCHAR},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
group_id = #{record.groupId,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR}
update flow_main_log
flow_main_id = #{flowMainId,jdbcType=VARCHAR},
form_id = #{formId,jdbcType=VARCHAR},
audit_user = #{auditUser,jdbcType=VARCHAR},
audit_content = #{auditContent,jdbcType=VARCHAR},
audit_result = #{auditResult,jdbcType=VARCHAR},
audit_type = #{auditType,jdbcType=VARCHAR},
flow_type = #{flowType,jdbcType=VARCHAR},
flow_post = #{flowPost,jdbcType=VARCHAR},
flow_id = #{flowId,jdbcType=VARCHAR},
task_id = #{taskId,jdbcType=VARCHAR},
next_persons = #{nextPersons,jdbcType=VARCHAR},
up_main_log_id = #{upMainLogId,jdbcType=VARCHAR},
cc_list = #{ccList,jdbcType=VARCHAR},
push_user_key = #{pushUserKey,jdbcType=VARCHAR},
node_name = #{nodeName,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
created_by = #{createdBy,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=TIMESTAMP},
group_id = #{groupId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update flow_main_log
set flow_main_id = #{flowMainId,jdbcType=VARCHAR},
form_id = #{formId,jdbcType=VARCHAR},
audit_user = #{auditUser,jdbcType=VARCHAR},
audit_content = #{auditContent,jdbcType=VARCHAR},
audit_result = #{auditResult,jdbcType=VARCHAR},
audit_type = #{auditType,jdbcType=VARCHAR},
flow_type = #{flowType,jdbcType=VARCHAR},
flow_post = #{flowPost,jdbcType=VARCHAR},
flow_id = #{flowId,jdbcType=VARCHAR},
task_id = #{taskId,jdbcType=VARCHAR},
next_persons = #{nextPersons,jdbcType=VARCHAR},
up_main_log_id = #{upMainLogId,jdbcType=VARCHAR},
cc_list = #{ccList,jdbcType=VARCHAR},
push_user_key = #{pushUserKey,jdbcType=VARCHAR},
node_name = #{nodeName,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
created_by = #{createdBy,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=TIMESTAMP},
group_id = #{groupId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}