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_id, pl_no, pl_name, data_state, remark, create_emp_id, create_emp_name,
create_time, modify_emp_id, modify_emp_name, modify_time
delete from park_berth_appointment_park_rel
where id = #{id,jdbcType=BIGINT}
delete from park_berth_appointment_park_rel
SELECT LAST_INSERT_ID()
insert into park_berth_appointment_park_rel (appointment_config_id, pl_no, pl_name,
data_state, remark, create_emp_id,
create_emp_name, create_time, modify_emp_id,
modify_emp_name, modify_time)
values (#{appointmentConfigId,jdbcType=BIGINT}, #{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR},
#{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_park_rel
appointment_config_id,
pl_no,
pl_name,
data_state,
remark,
create_emp_id,
create_emp_name,
create_time,
modify_emp_id,
modify_emp_name,
modify_time,
#{appointmentConfigId,jdbcType=BIGINT},
#{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{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_park_rel
id = #{record.id,jdbcType=BIGINT},
appointment_config_id = #{record.appointmentConfigId,jdbcType=BIGINT},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
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_park_rel
set id = #{record.id,jdbcType=BIGINT},
appointment_config_id = #{record.appointmentConfigId,jdbcType=BIGINT},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
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_park_rel
appointment_config_id = #{appointmentConfigId,jdbcType=BIGINT},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
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_park_rel
set appointment_config_id = #{appointmentConfigId,jdbcType=BIGINT},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
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}