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, business_id, business_name, user_code, user_name, sex, age, email, password,
user_phone, remark, org_id, org_name, token_id, data_state, create_empid, create_date,
modify_empid, modify_date, Failure_time
delete from td_c_business_user
where id = #{id,jdbcType=BIGINT}
delete from td_c_business_user
SELECT LAST_INSERT_ID()
insert into td_c_business_user (business_id, business_name, user_code,
user_name, sex, age,
email, password, user_phone,
remark, org_id, org_name,
token_id, data_state, create_empid,
create_date, modify_empid, modify_date,
Failure_time)
values (#{businessId,jdbcType=VARCHAR}, #{businessName,jdbcType=VARCHAR}, #{userCode,jdbcType=VARCHAR},
#{userName,jdbcType=VARCHAR}, #{sex,jdbcType=INTEGER}, #{age,jdbcType=INTEGER},
#{email,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR},
#{tokenId,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP}, #{modifyEmpid,jdbcType=VARCHAR}, #{modifyDate,jdbcType=TIMESTAMP},
#{failureTime,jdbcType=TIMESTAMP})
SELECT LAST_INSERT_ID()
insert into td_c_business_user
business_id,
business_name,
user_code,
user_name,
sex,
age,
email,
password,
user_phone,
remark,
org_id,
org_name,
token_id,
data_state,
create_empid,
create_date,
modify_empid,
modify_date,
Failure_time,
#{businessId,jdbcType=VARCHAR},
#{businessName,jdbcType=VARCHAR},
#{userCode,jdbcType=VARCHAR},
#{userName,jdbcType=VARCHAR},
#{sex,jdbcType=INTEGER},
#{age,jdbcType=INTEGER},
#{email,jdbcType=VARCHAR},
#{password,jdbcType=VARCHAR},
#{userPhone,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{orgId,jdbcType=BIGINT},
#{orgName,jdbcType=VARCHAR},
#{tokenId,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP},
#{failureTime,jdbcType=TIMESTAMP},
update td_c_business_user
id = #{record.id,jdbcType=BIGINT},
business_id = #{record.businessId,jdbcType=VARCHAR},
business_name = #{record.businessName,jdbcType=VARCHAR},
user_code = #{record.userCode,jdbcType=VARCHAR},
user_name = #{record.userName,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=INTEGER},
age = #{record.age,jdbcType=INTEGER},
email = #{record.email,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
user_phone = #{record.userPhone,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR},
token_id = #{record.tokenId,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_empid = #{record.modifyEmpid,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
Failure_time = #{record.failureTime,jdbcType=TIMESTAMP},
update td_c_business_user
set id = #{record.id,jdbcType=BIGINT},
business_id = #{record.businessId,jdbcType=VARCHAR},
business_name = #{record.businessName,jdbcType=VARCHAR},
user_code = #{record.userCode,jdbcType=VARCHAR},
user_name = #{record.userName,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=INTEGER},
age = #{record.age,jdbcType=INTEGER},
email = #{record.email,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
user_phone = #{record.userPhone,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR},
token_id = #{record.tokenId,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_empid = #{record.modifyEmpid,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
Failure_time = #{record.failureTime,jdbcType=TIMESTAMP}
update td_c_business_user
business_id = #{businessId,jdbcType=VARCHAR},
business_name = #{businessName,jdbcType=VARCHAR},
user_code = #{userCode,jdbcType=VARCHAR},
user_name = #{userName,jdbcType=VARCHAR},
sex = #{sex,jdbcType=INTEGER},
age = #{age,jdbcType=INTEGER},
email = #{email,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
user_phone = #{userPhone,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
token_id = #{tokenId,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_empid = #{modifyEmpid,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
Failure_time = #{failureTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update td_c_business_user
set business_id = #{businessId,jdbcType=VARCHAR},
business_name = #{businessName,jdbcType=VARCHAR},
user_code = #{userCode,jdbcType=VARCHAR},
user_name = #{userName,jdbcType=VARCHAR},
sex = #{sex,jdbcType=INTEGER},
age = #{age,jdbcType=INTEGER},
email = #{email,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
user_phone = #{userPhone,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
token_id = #{tokenId,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_empid = #{modifyEmpid,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
Failure_time = #{failureTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}