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, ticket_no, ticket_type, ticket_category, widget_no, widget_type, widget_name,
widget_text, widget_value, enter_flag, position_type, order_num, org_id, data_state,
remark, create_emp_id, create_emp_name, create_time, modify_emp_id, modify_emp_name,
modify_time
delete from charger_ticket_config
where id = #{id,jdbcType=BIGINT}
delete from charger_ticket_config
SELECT LAST_INSERT_ID()
insert into charger_ticket_config (ticket_no, ticket_type, ticket_category,
widget_no, widget_type, widget_name,
widget_text, widget_value, enter_flag,
position_type, order_num, org_id,
data_state, remark, create_emp_id,
create_emp_name, create_time, modify_emp_id,
modify_emp_name, modify_time)
values (#{ticketNo,jdbcType=VARCHAR}, #{ticketType,jdbcType=INTEGER}, #{ticketCategory,jdbcType=INTEGER},
#{widgetNo,jdbcType=VARCHAR}, #{widgetType,jdbcType=VARCHAR}, #{widgetName,jdbcType=VARCHAR},
#{widgetText,jdbcType=VARCHAR}, #{widgetValue,jdbcType=VARCHAR}, #{enterFlag,jdbcType=INTEGER},
#{positionType,jdbcType=INTEGER}, #{orderNum,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 charger_ticket_config
ticket_no,
ticket_type,
ticket_category,
widget_no,
widget_type,
widget_name,
widget_text,
widget_value,
enter_flag,
position_type,
order_num,
org_id,
data_state,
remark,
create_emp_id,
create_emp_name,
create_time,
modify_emp_id,
modify_emp_name,
modify_time,
#{ticketNo,jdbcType=VARCHAR},
#{ticketType,jdbcType=INTEGER},
#{ticketCategory,jdbcType=INTEGER},
#{widgetNo,jdbcType=VARCHAR},
#{widgetType,jdbcType=VARCHAR},
#{widgetName,jdbcType=VARCHAR},
#{widgetText,jdbcType=VARCHAR},
#{widgetValue,jdbcType=VARCHAR},
#{enterFlag,jdbcType=INTEGER},
#{positionType,jdbcType=INTEGER},
#{orderNum,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 charger_ticket_config
id = #{record.id,jdbcType=BIGINT},
ticket_no = #{record.ticketNo,jdbcType=VARCHAR},
ticket_type = #{record.ticketType,jdbcType=INTEGER},
ticket_category = #{record.ticketCategory,jdbcType=INTEGER},
widget_no = #{record.widgetNo,jdbcType=VARCHAR},
widget_type = #{record.widgetType,jdbcType=VARCHAR},
widget_name = #{record.widgetName,jdbcType=VARCHAR},
widget_text = #{record.widgetText,jdbcType=VARCHAR},
widget_value = #{record.widgetValue,jdbcType=VARCHAR},
enter_flag = #{record.enterFlag,jdbcType=INTEGER},
position_type = #{record.positionType,jdbcType=INTEGER},
order_num = #{record.orderNum,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 charger_ticket_config
set id = #{record.id,jdbcType=BIGINT},
ticket_no = #{record.ticketNo,jdbcType=VARCHAR},
ticket_type = #{record.ticketType,jdbcType=INTEGER},
ticket_category = #{record.ticketCategory,jdbcType=INTEGER},
widget_no = #{record.widgetNo,jdbcType=VARCHAR},
widget_type = #{record.widgetType,jdbcType=VARCHAR},
widget_name = #{record.widgetName,jdbcType=VARCHAR},
widget_text = #{record.widgetText,jdbcType=VARCHAR},
widget_value = #{record.widgetValue,jdbcType=VARCHAR},
enter_flag = #{record.enterFlag,jdbcType=INTEGER},
position_type = #{record.positionType,jdbcType=INTEGER},
order_num = #{record.orderNum,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 charger_ticket_config
ticket_no = #{ticketNo,jdbcType=VARCHAR},
ticket_type = #{ticketType,jdbcType=INTEGER},
ticket_category = #{ticketCategory,jdbcType=INTEGER},
widget_no = #{widgetNo,jdbcType=VARCHAR},
widget_type = #{widgetType,jdbcType=VARCHAR},
widget_name = #{widgetName,jdbcType=VARCHAR},
widget_text = #{widgetText,jdbcType=VARCHAR},
widget_value = #{widgetValue,jdbcType=VARCHAR},
enter_flag = #{enterFlag,jdbcType=INTEGER},
position_type = #{positionType,jdbcType=INTEGER},
order_num = #{orderNum,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 charger_ticket_config
set ticket_no = #{ticketNo,jdbcType=VARCHAR},
ticket_type = #{ticketType,jdbcType=INTEGER},
ticket_category = #{ticketCategory,jdbcType=INTEGER},
widget_no = #{widgetNo,jdbcType=VARCHAR},
widget_type = #{widgetType,jdbcType=VARCHAR},
widget_name = #{widgetName,jdbcType=VARCHAR},
widget_text = #{widgetText,jdbcType=VARCHAR},
widget_value = #{widgetValue,jdbcType=VARCHAR},
enter_flag = #{enterFlag,jdbcType=INTEGER},
position_type = #{positionType,jdbcType=INTEGER},
order_num = #{orderNum,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}