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, appointment_config_name, appointment_type, appointment_keep_hours, berth_total,
reserve_berth_num, befor_appointment_hours, appointment_fee, rule_state, org_id,
data_state, remark, create_emp_id, create_emp_name, create_time, modify_emp_id, modify_emp_name,
modify_time
delete from park_berth_appointment_config
where id = #{id,jdbcType=BIGINT}
delete from park_berth_appointment_config
SELECT LAST_INSERT_ID()
insert into park_berth_appointment_config (appointment_config_name, appointment_type,
appointment_keep_hours, berth_total, reserve_berth_num,
befor_appointment_hours, appointment_fee, rule_state,
org_id, data_state, remark,
create_emp_id, create_emp_name, create_time,
modify_emp_id, modify_emp_name, modify_time
)
values (#{appointmentConfigName,jdbcType=VARCHAR}, #{appointmentType,jdbcType=INTEGER},
#{appointmentKeepHours,jdbcType=INTEGER}, #{berthTotal,jdbcType=INTEGER}, #{reserveBerthNum,jdbcType=INTEGER},
#{beforAppointmentHours,jdbcType=INTEGER}, #{appointmentFee,jdbcType=BIGINT}, #{ruleState,jdbcType=INTEGER},
#{orgId,jdbcType=BIGINT}, #{dataState,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR},
#{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{modifyEmpId,jdbcType=VARCHAR}, #{modifyEmpName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}
)
SELECT LAST_INSERT_ID()
insert into park_berth_appointment_config
appointment_config_name,
appointment_type,
appointment_keep_hours,
berth_total,
reserve_berth_num,
befor_appointment_hours,
appointment_fee,
rule_state,
org_id,
data_state,
remark,
create_emp_id,
create_emp_name,
create_time,
modify_emp_id,
modify_emp_name,
modify_time,
#{appointmentConfigName,jdbcType=VARCHAR},
#{appointmentType,jdbcType=INTEGER},
#{appointmentKeepHours,jdbcType=INTEGER},
#{berthTotal,jdbcType=INTEGER},
#{reserveBerthNum,jdbcType=INTEGER},
#{beforAppointmentHours,jdbcType=INTEGER},
#{appointmentFee,jdbcType=BIGINT},
#{ruleState,jdbcType=INTEGER},
#{orgId,jdbcType=BIGINT},
#{dataState,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifyEmpId,jdbcType=VARCHAR},
#{modifyEmpName,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP},
update park_berth_appointment_config
id = #{record.id,jdbcType=BIGINT},
appointment_config_name = #{record.appointmentConfigName,jdbcType=VARCHAR},
appointment_type = #{record.appointmentType,jdbcType=INTEGER},
appointment_keep_hours = #{record.appointmentKeepHours,jdbcType=INTEGER},
berth_total = #{record.berthTotal,jdbcType=INTEGER},
reserve_berth_num = #{record.reserveBerthNum,jdbcType=INTEGER},
befor_appointment_hours = #{record.beforAppointmentHours,jdbcType=INTEGER},
appointment_fee = #{record.appointmentFee,jdbcType=BIGINT},
rule_state = #{record.ruleState,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
data_state = #{record.dataState,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{record.modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{record.modifyEmpName,jdbcType=VARCHAR},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
update park_berth_appointment_config
set id = #{record.id,jdbcType=BIGINT},
appointment_config_name = #{record.appointmentConfigName,jdbcType=VARCHAR},
appointment_type = #{record.appointmentType,jdbcType=INTEGER},
appointment_keep_hours = #{record.appointmentKeepHours,jdbcType=INTEGER},
berth_total = #{record.berthTotal,jdbcType=INTEGER},
reserve_berth_num = #{record.reserveBerthNum,jdbcType=INTEGER},
befor_appointment_hours = #{record.beforAppointmentHours,jdbcType=INTEGER},
appointment_fee = #{record.appointmentFee,jdbcType=BIGINT},
rule_state = #{record.ruleState,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
data_state = #{record.dataState,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{record.modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{record.modifyEmpName,jdbcType=VARCHAR},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}
update park_berth_appointment_config
appointment_config_name = #{appointmentConfigName,jdbcType=VARCHAR},
appointment_type = #{appointmentType,jdbcType=INTEGER},
appointment_keep_hours = #{appointmentKeepHours,jdbcType=INTEGER},
berth_total = #{berthTotal,jdbcType=INTEGER},
reserve_berth_num = #{reserveBerthNum,jdbcType=INTEGER},
befor_appointment_hours = #{beforAppointmentHours,jdbcType=INTEGER},
appointment_fee = #{appointmentFee,jdbcType=BIGINT},
rule_state = #{ruleState,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
data_state = #{dataState,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{modifyEmpName,jdbcType=VARCHAR},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update park_berth_appointment_config
set appointment_config_name = #{appointmentConfigName,jdbcType=VARCHAR},
appointment_type = #{appointmentType,jdbcType=INTEGER},
appointment_keep_hours = #{appointmentKeepHours,jdbcType=INTEGER},
berth_total = #{berthTotal,jdbcType=INTEGER},
reserve_berth_num = #{reserveBerthNum,jdbcType=INTEGER},
befor_appointment_hours = #{beforAppointmentHours,jdbcType=INTEGER},
appointment_fee = #{appointmentFee,jdbcType=BIGINT},
rule_state = #{ruleState,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
data_state = #{dataState,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{modifyEmpName,jdbcType=VARCHAR},
modify_time = #{modifyTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}