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, cust_id, org_id, org_name, data_state, create_empid, create_date, modfiy_empid,
modfiy_date
delete from td_c_cust_person_change_org
where id = #{id,jdbcType=BIGINT}
delete from td_c_cust_person_change_org
SELECT LAST_INSERT_ID()
insert into td_c_cust_person_change_org (cust_id, org_id, org_name,
data_state, create_empid, create_date,
modfiy_empid, modfiy_date)
values (#{custId,jdbcType=VARCHAR}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP})
SELECT LAST_INSERT_ID()
insert into td_c_cust_person_change_org
cust_id,
org_id,
org_name,
data_state,
create_empid,
create_date,
modfiy_empid,
modfiy_date,
#{custId,jdbcType=VARCHAR},
#{orgId,jdbcType=BIGINT},
#{orgName,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
update td_c_cust_person_change_org
id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
update td_c_cust_person_change_org
set id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP}
update td_c_cust_person_change_org
cust_id = #{custId,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update td_c_cust_person_change_org
set cust_id = #{custId,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}