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}
product_id, product_name, product_enum, channel_id, channel_enum, channel_name, pay_app_id,
wx_ai_config_id, product_status, org_id, remark, data_state, create_emp_id, create_emp_name,
create_time, modify_emp_id, modify_emp_name, modify_time
delete from td_b_pay_product
where product_id = #{productId,jdbcType=BIGINT}
delete from td_b_pay_product
SELECT LAST_INSERT_ID()
insert into td_b_pay_product (product_name, product_enum, channel_id,
channel_enum, channel_name, pay_app_id,
wx_ai_config_id, product_status, org_id,
remark, data_state, create_emp_id,
create_emp_name, create_time, modify_emp_id,
modify_emp_name, modify_time)
values (#{productName,jdbcType=VARCHAR}, #{productEnum,jdbcType=VARCHAR}, #{channelId,jdbcType=INTEGER},
#{channelEnum,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR}, #{payAppId,jdbcType=INTEGER},
#{wxAiConfigId,jdbcType=BIGINT}, #{productStatus,jdbcType=INTEGER}, #{orgId,jdbcType=BIGINT},
#{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifyEmpId,jdbcType=VARCHAR},
#{modifyEmpName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP})
SELECT LAST_INSERT_ID()
insert into td_b_pay_product
product_name,
product_enum,
channel_id,
channel_enum,
channel_name,
pay_app_id,
wx_ai_config_id,
product_status,
org_id,
remark,
data_state,
create_emp_id,
create_emp_name,
create_time,
modify_emp_id,
modify_emp_name,
modify_time,
#{productName,jdbcType=VARCHAR},
#{productEnum,jdbcType=VARCHAR},
#{channelId,jdbcType=INTEGER},
#{channelEnum,jdbcType=VARCHAR},
#{channelName,jdbcType=VARCHAR},
#{payAppId,jdbcType=INTEGER},
#{wxAiConfigId,jdbcType=BIGINT},
#{productStatus,jdbcType=INTEGER},
#{orgId,jdbcType=BIGINT},
#{remark,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifyEmpId,jdbcType=VARCHAR},
#{modifyEmpName,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP},
update td_b_pay_product
product_id = #{record.productId,jdbcType=BIGINT},
product_name = #{record.productName,jdbcType=VARCHAR},
product_enum = #{record.productEnum,jdbcType=VARCHAR},
channel_id = #{record.channelId,jdbcType=INTEGER},
channel_enum = #{record.channelEnum,jdbcType=VARCHAR},
channel_name = #{record.channelName,jdbcType=VARCHAR},
pay_app_id = #{record.payAppId,jdbcType=INTEGER},
wx_ai_config_id = #{record.wxAiConfigId,jdbcType=BIGINT},
product_status = #{record.productStatus,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
remark = #{record.remark,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
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 td_b_pay_product
set product_id = #{record.productId,jdbcType=BIGINT},
product_name = #{record.productName,jdbcType=VARCHAR},
product_enum = #{record.productEnum,jdbcType=VARCHAR},
channel_id = #{record.channelId,jdbcType=INTEGER},
channel_enum = #{record.channelEnum,jdbcType=VARCHAR},
channel_name = #{record.channelName,jdbcType=VARCHAR},
pay_app_id = #{record.payAppId,jdbcType=INTEGER},
wx_ai_config_id = #{record.wxAiConfigId,jdbcType=BIGINT},
product_status = #{record.productStatus,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
remark = #{record.remark,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
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 td_b_pay_product
product_name = #{productName,jdbcType=VARCHAR},
product_enum = #{productEnum,jdbcType=VARCHAR},
channel_id = #{channelId,jdbcType=INTEGER},
channel_enum = #{channelEnum,jdbcType=VARCHAR},
channel_name = #{channelName,jdbcType=VARCHAR},
pay_app_id = #{payAppId,jdbcType=INTEGER},
wx_ai_config_id = #{wxAiConfigId,jdbcType=BIGINT},
product_status = #{productStatus,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
remark = #{remark,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
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 product_id = #{productId,jdbcType=BIGINT}
update td_b_pay_product
set product_name = #{productName,jdbcType=VARCHAR},
product_enum = #{productEnum,jdbcType=VARCHAR},
channel_id = #{channelId,jdbcType=INTEGER},
channel_enum = #{channelEnum,jdbcType=VARCHAR},
channel_name = #{channelName,jdbcType=VARCHAR},
pay_app_id = #{payAppId,jdbcType=INTEGER},
wx_ai_config_id = #{wxAiConfigId,jdbcType=BIGINT},
product_status = #{productStatus,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
remark = #{remark,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
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 product_id = #{productId,jdbcType=BIGINT}