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, appointment_type, order_id, order_type, order_state, terminal_source,
order_dicount_fee, order_act_fee, order_total_fee, cust_type, cust_id, user_phone,
car_number, car_number_color, pl_no, pl_name, berth_no, appointment_opt_time, appointment_begin_time,
appointment_end_time, push_state, org_id, rlt_order_id, appointment_state, data_state,
create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date,
remark
delete from order_appointment
where id = #{id,jdbcType=BIGINT}
delete from order_appointment
SELECT LAST_INSERT_ID()
insert into order_appointment (appointment_config_id, appointment_type,
order_id, order_type, order_state,
terminal_source, order_dicount_fee, order_act_fee,
order_total_fee, cust_type, cust_id,
user_phone, car_number, car_number_color,
pl_no, pl_name, berth_no,
appointment_opt_time, appointment_begin_time,
appointment_end_time, push_state, org_id,
rlt_order_id, appointment_state, data_state,
create_emp_id, create_emp_name, create_date,
modfiy_emp_id, modfiy_emp_name, modfiy_date,
remark)
values (#{appointmentConfigId,jdbcType=BIGINT}, #{appointmentType,jdbcType=INTEGER},
#{orderId,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, #{orderState,jdbcType=INTEGER},
#{terminalSource,jdbcType=INTEGER}, #{orderDicountFee,jdbcType=BIGINT}, #{orderActFee,jdbcType=BIGINT},
#{orderTotalFee,jdbcType=BIGINT}, #{custType,jdbcType=INTEGER}, #{custId,jdbcType=VARCHAR},
#{userPhone,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR}, #{carNumberColor,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{berthNo,jdbcType=VARCHAR},
#{appointmentOptTime,jdbcType=TIMESTAMP}, #{appointmentBeginTime,jdbcType=TIMESTAMP},
#{appointmentEndTime,jdbcType=TIMESTAMP}, #{pushState,jdbcType=INTEGER}, #{orgId,jdbcType=BIGINT},
#{rltOrderId,jdbcType=VARCHAR}, #{appointmentState,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into order_appointment
appointment_config_id,
appointment_type,
order_id,
order_type,
order_state,
terminal_source,
order_dicount_fee,
order_act_fee,
order_total_fee,
cust_type,
cust_id,
user_phone,
car_number,
car_number_color,
pl_no,
pl_name,
berth_no,
appointment_opt_time,
appointment_begin_time,
appointment_end_time,
push_state,
org_id,
rlt_order_id,
appointment_state,
data_state,
create_emp_id,
create_emp_name,
create_date,
modfiy_emp_id,
modfiy_emp_name,
modfiy_date,
remark,
#{appointmentConfigId,jdbcType=BIGINT},
#{appointmentType,jdbcType=INTEGER},
#{orderId,jdbcType=VARCHAR},
#{orderType,jdbcType=INTEGER},
#{orderState,jdbcType=INTEGER},
#{terminalSource,jdbcType=INTEGER},
#{orderDicountFee,jdbcType=BIGINT},
#{orderActFee,jdbcType=BIGINT},
#{orderTotalFee,jdbcType=BIGINT},
#{custType,jdbcType=INTEGER},
#{custId,jdbcType=VARCHAR},
#{userPhone,jdbcType=VARCHAR},
#{carNumber,jdbcType=VARCHAR},
#{carNumberColor,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{berthNo,jdbcType=VARCHAR},
#{appointmentOptTime,jdbcType=TIMESTAMP},
#{appointmentBeginTime,jdbcType=TIMESTAMP},
#{appointmentEndTime,jdbcType=TIMESTAMP},
#{pushState,jdbcType=INTEGER},
#{orgId,jdbcType=BIGINT},
#{rltOrderId,jdbcType=VARCHAR},
#{appointmentState,jdbcType=INTEGER},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpId,jdbcType=VARCHAR},
#{modfiyEmpName,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
update order_appointment
id = #{record.id,jdbcType=BIGINT},
appointment_config_id = #{record.appointmentConfigId,jdbcType=BIGINT},
appointment_type = #{record.appointmentType,jdbcType=INTEGER},
order_id = #{record.orderId,jdbcType=VARCHAR},
order_type = #{record.orderType,jdbcType=INTEGER},
order_state = #{record.orderState,jdbcType=INTEGER},
terminal_source = #{record.terminalSource,jdbcType=INTEGER},
order_dicount_fee = #{record.orderDicountFee,jdbcType=BIGINT},
order_act_fee = #{record.orderActFee,jdbcType=BIGINT},
order_total_fee = #{record.orderTotalFee,jdbcType=BIGINT},
cust_type = #{record.custType,jdbcType=INTEGER},
cust_id = #{record.custId,jdbcType=VARCHAR},
user_phone = #{record.userPhone,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
car_number_color = #{record.carNumberColor,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
berth_no = #{record.berthNo,jdbcType=VARCHAR},
appointment_opt_time = #{record.appointmentOptTime,jdbcType=TIMESTAMP},
appointment_begin_time = #{record.appointmentBeginTime,jdbcType=TIMESTAMP},
appointment_end_time = #{record.appointmentEndTime,jdbcType=TIMESTAMP},
push_state = #{record.pushState,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
rlt_order_id = #{record.rltOrderId,jdbcType=VARCHAR},
appointment_state = #{record.appointmentState,jdbcType=INTEGER},
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},
modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR},
update order_appointment
set id = #{record.id,jdbcType=BIGINT},
appointment_config_id = #{record.appointmentConfigId,jdbcType=BIGINT},
appointment_type = #{record.appointmentType,jdbcType=INTEGER},
order_id = #{record.orderId,jdbcType=VARCHAR},
order_type = #{record.orderType,jdbcType=INTEGER},
order_state = #{record.orderState,jdbcType=INTEGER},
terminal_source = #{record.terminalSource,jdbcType=INTEGER},
order_dicount_fee = #{record.orderDicountFee,jdbcType=BIGINT},
order_act_fee = #{record.orderActFee,jdbcType=BIGINT},
order_total_fee = #{record.orderTotalFee,jdbcType=BIGINT},
cust_type = #{record.custType,jdbcType=INTEGER},
cust_id = #{record.custId,jdbcType=VARCHAR},
user_phone = #{record.userPhone,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
car_number_color = #{record.carNumberColor,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
berth_no = #{record.berthNo,jdbcType=VARCHAR},
appointment_opt_time = #{record.appointmentOptTime,jdbcType=TIMESTAMP},
appointment_begin_time = #{record.appointmentBeginTime,jdbcType=TIMESTAMP},
appointment_end_time = #{record.appointmentEndTime,jdbcType=TIMESTAMP},
push_state = #{record.pushState,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
rlt_order_id = #{record.rltOrderId,jdbcType=VARCHAR},
appointment_state = #{record.appointmentState,jdbcType=INTEGER},
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},
modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR}
update order_appointment
appointment_config_id = #{appointmentConfigId,jdbcType=BIGINT},
appointment_type = #{appointmentType,jdbcType=INTEGER},
order_id = #{orderId,jdbcType=VARCHAR},
order_type = #{orderType,jdbcType=INTEGER},
order_state = #{orderState,jdbcType=INTEGER},
terminal_source = #{terminalSource,jdbcType=INTEGER},
order_dicount_fee = #{orderDicountFee,jdbcType=BIGINT},
order_act_fee = #{orderActFee,jdbcType=BIGINT},
order_total_fee = #{orderTotalFee,jdbcType=BIGINT},
cust_type = #{custType,jdbcType=INTEGER},
cust_id = #{custId,jdbcType=VARCHAR},
user_phone = #{userPhone,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
car_number_color = #{carNumberColor,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
berth_no = #{berthNo,jdbcType=VARCHAR},
appointment_opt_time = #{appointmentOptTime,jdbcType=TIMESTAMP},
appointment_begin_time = #{appointmentBeginTime,jdbcType=TIMESTAMP},
appointment_end_time = #{appointmentEndTime,jdbcType=TIMESTAMP},
push_state = #{pushState,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
rlt_order_id = #{rltOrderId,jdbcType=VARCHAR},
appointment_state = #{appointmentState,jdbcType=INTEGER},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update order_appointment
set appointment_config_id = #{appointmentConfigId,jdbcType=BIGINT},
appointment_type = #{appointmentType,jdbcType=INTEGER},
order_id = #{orderId,jdbcType=VARCHAR},
order_type = #{orderType,jdbcType=INTEGER},
order_state = #{orderState,jdbcType=INTEGER},
terminal_source = #{terminalSource,jdbcType=INTEGER},
order_dicount_fee = #{orderDicountFee,jdbcType=BIGINT},
order_act_fee = #{orderActFee,jdbcType=BIGINT},
order_total_fee = #{orderTotalFee,jdbcType=BIGINT},
cust_type = #{custType,jdbcType=INTEGER},
cust_id = #{custId,jdbcType=VARCHAR},
user_phone = #{userPhone,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
car_number_color = #{carNumberColor,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
berth_no = #{berthNo,jdbcType=VARCHAR},
appointment_opt_time = #{appointmentOptTime,jdbcType=TIMESTAMP},
appointment_begin_time = #{appointmentBeginTime,jdbcType=TIMESTAMP},
appointment_end_time = #{appointmentEndTime,jdbcType=TIMESTAMP},
push_state = #{pushState,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
rlt_order_id = #{rltOrderId,jdbcType=VARCHAR},
appointment_state = #{appointmentState,jdbcType=INTEGER},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}