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, break_id, audit_type, audit_remark, audit_op_id, audit_op_name, data_state, create_emp_id,
create_emp_name, create_date, org_id, org_name
delete from tp_c_car_break_audit_record
where id = #{id,jdbcType=BIGINT}
delete from tp_c_car_break_audit_record
SELECT LAST_INSERT_ID()
insert into tp_c_car_break_audit_record (break_id, audit_type, audit_remark,
audit_op_id, audit_op_name, data_state,
create_emp_id, create_emp_name, create_date,
org_id, org_name)
values (#{breakId,jdbcType=BIGINT}, #{auditType,jdbcType=INTEGER}, #{auditRemark,jdbcType=VARCHAR},
#{auditOpId,jdbcType=BIGINT}, #{auditOpName,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into tp_c_car_break_audit_record
break_id,
audit_type,
audit_remark,
audit_op_id,
audit_op_name,
data_state,
create_emp_id,
create_emp_name,
create_date,
org_id,
org_name,
#{breakId,jdbcType=BIGINT},
#{auditType,jdbcType=INTEGER},
#{auditRemark,jdbcType=VARCHAR},
#{auditOpId,jdbcType=BIGINT},
#{auditOpName,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{orgId,jdbcType=BIGINT},
#{orgName,jdbcType=VARCHAR},
update tp_c_car_break_audit_record
id = #{record.id,jdbcType=BIGINT},
break_id = #{record.breakId,jdbcType=BIGINT},
audit_type = #{record.auditType,jdbcType=INTEGER},
audit_remark = #{record.auditRemark,jdbcType=VARCHAR},
audit_op_id = #{record.auditOpId,jdbcType=BIGINT},
audit_op_name = #{record.auditOpName,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR},
update tp_c_car_break_audit_record
set id = #{record.id,jdbcType=BIGINT},
break_id = #{record.breakId,jdbcType=BIGINT},
audit_type = #{record.auditType,jdbcType=INTEGER},
audit_remark = #{record.auditRemark,jdbcType=VARCHAR},
audit_op_id = #{record.auditOpId,jdbcType=BIGINT},
audit_op_name = #{record.auditOpName,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR}
update tp_c_car_break_audit_record
break_id = #{breakId,jdbcType=BIGINT},
audit_type = #{auditType,jdbcType=INTEGER},
audit_remark = #{auditRemark,jdbcType=VARCHAR},
audit_op_id = #{auditOpId,jdbcType=BIGINT},
audit_op_name = #{auditOpName,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update tp_c_car_break_audit_record
set break_id = #{breakId,jdbcType=BIGINT},
audit_type = #{auditType,jdbcType=INTEGER},
audit_remark = #{auditRemark,jdbcType=VARCHAR},
audit_op_id = #{auditOpId,jdbcType=BIGINT},
audit_op_name = #{auditOpName,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}