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, user_phone, password, business_id, business_type, business_level, business_source,
business_name, business_licence_number, begin_date, end_date, legal_person_name,
operator_name, contact_phone, business_address, pl_name, business_car_number, remark,
examine_state, examine_date, examine_remark, org_id, org_name, token_id, data_state,
create_empid, create_date, modify_empid, modify_date, permanently_valid
delete from td_c_cust_business
where id = #{id,jdbcType=BIGINT}
delete from td_c_cust_business
SELECT LAST_INSERT_ID()
insert into td_c_cust_business (cust_id, user_phone, password,
business_id, business_type, business_level,
business_source, business_name, business_licence_number,
begin_date, end_date, legal_person_name,
operator_name, contact_phone, business_address,
pl_name, business_car_number, remark,
examine_state, examine_date, examine_remark,
org_id, org_name, token_id,
data_state, create_empid, create_date,
modify_empid, modify_date, permanently_valid
)
values (#{custId,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
#{businessId,jdbcType=VARCHAR}, #{businessType,jdbcType=INTEGER}, #{businessLevel,jdbcType=INTEGER},
#{businessSource,jdbcType=INTEGER}, #{businessName,jdbcType=VARCHAR}, #{businessLicenceNumber,jdbcType=VARCHAR},
#{beginDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP}, #{legalPersonName,jdbcType=VARCHAR},
#{operatorName,jdbcType=VARCHAR}, #{contactPhone,jdbcType=VARCHAR}, #{businessAddress,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR}, #{businessCarNumber,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{examineState,jdbcType=INTEGER}, #{examineDate,jdbcType=TIMESTAMP}, #{examineRemark,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}, #{permanentlyValid,jdbcType=INTEGER}
)
SELECT LAST_INSERT_ID()
insert into td_c_cust_business
cust_id,
user_phone,
password,
business_id,
business_type,
business_level,
business_source,
business_name,
business_licence_number,
begin_date,
end_date,
legal_person_name,
operator_name,
contact_phone,
business_address,
pl_name,
business_car_number,
remark,
examine_state,
examine_date,
examine_remark,
org_id,
org_name,
token_id,
data_state,
create_empid,
create_date,
modify_empid,
modify_date,
permanently_valid,
#{custId,jdbcType=VARCHAR},
#{userPhone,jdbcType=VARCHAR},
#{password,jdbcType=VARCHAR},
#{businessId,jdbcType=VARCHAR},
#{businessType,jdbcType=INTEGER},
#{businessLevel,jdbcType=INTEGER},
#{businessSource,jdbcType=INTEGER},
#{businessName,jdbcType=VARCHAR},
#{businessLicenceNumber,jdbcType=VARCHAR},
#{beginDate,jdbcType=TIMESTAMP},
#{endDate,jdbcType=TIMESTAMP},
#{legalPersonName,jdbcType=VARCHAR},
#{operatorName,jdbcType=VARCHAR},
#{contactPhone,jdbcType=VARCHAR},
#{businessAddress,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{businessCarNumber,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{examineState,jdbcType=INTEGER},
#{examineDate,jdbcType=TIMESTAMP},
#{examineRemark,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},
#{permanentlyValid,jdbcType=INTEGER},
update td_c_cust_business
id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
user_phone = #{record.userPhone,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
business_id = #{record.businessId,jdbcType=VARCHAR},
business_type = #{record.businessType,jdbcType=INTEGER},
business_level = #{record.businessLevel,jdbcType=INTEGER},
business_source = #{record.businessSource,jdbcType=INTEGER},
business_name = #{record.businessName,jdbcType=VARCHAR},
business_licence_number = #{record.businessLicenceNumber,jdbcType=VARCHAR},
begin_date = #{record.beginDate,jdbcType=TIMESTAMP},
end_date = #{record.endDate,jdbcType=TIMESTAMP},
legal_person_name = #{record.legalPersonName,jdbcType=VARCHAR},
operator_name = #{record.operatorName,jdbcType=VARCHAR},
contact_phone = #{record.contactPhone,jdbcType=VARCHAR},
business_address = #{record.businessAddress,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
business_car_number = #{record.businessCarNumber,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
examine_state = #{record.examineState,jdbcType=INTEGER},
examine_date = #{record.examineDate,jdbcType=TIMESTAMP},
examine_remark = #{record.examineRemark,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},
permanently_valid = #{record.permanentlyValid,jdbcType=INTEGER},
update td_c_cust_business
set id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
user_phone = #{record.userPhone,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
business_id = #{record.businessId,jdbcType=VARCHAR},
business_type = #{record.businessType,jdbcType=INTEGER},
business_level = #{record.businessLevel,jdbcType=INTEGER},
business_source = #{record.businessSource,jdbcType=INTEGER},
business_name = #{record.businessName,jdbcType=VARCHAR},
business_licence_number = #{record.businessLicenceNumber,jdbcType=VARCHAR},
begin_date = #{record.beginDate,jdbcType=TIMESTAMP},
end_date = #{record.endDate,jdbcType=TIMESTAMP},
legal_person_name = #{record.legalPersonName,jdbcType=VARCHAR},
operator_name = #{record.operatorName,jdbcType=VARCHAR},
contact_phone = #{record.contactPhone,jdbcType=VARCHAR},
business_address = #{record.businessAddress,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
business_car_number = #{record.businessCarNumber,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
examine_state = #{record.examineState,jdbcType=INTEGER},
examine_date = #{record.examineDate,jdbcType=TIMESTAMP},
examine_remark = #{record.examineRemark,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},
permanently_valid = #{record.permanentlyValid,jdbcType=INTEGER}
update td_c_cust_business
cust_id = #{custId,jdbcType=VARCHAR},
user_phone = #{userPhone,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
business_id = #{businessId,jdbcType=VARCHAR},
business_type = #{businessType,jdbcType=INTEGER},
business_level = #{businessLevel,jdbcType=INTEGER},
business_source = #{businessSource,jdbcType=INTEGER},
business_name = #{businessName,jdbcType=VARCHAR},
business_licence_number = #{businessLicenceNumber,jdbcType=VARCHAR},
begin_date = #{beginDate,jdbcType=TIMESTAMP},
end_date = #{endDate,jdbcType=TIMESTAMP},
legal_person_name = #{legalPersonName,jdbcType=VARCHAR},
operator_name = #{operatorName,jdbcType=VARCHAR},
contact_phone = #{contactPhone,jdbcType=VARCHAR},
business_address = #{businessAddress,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
business_car_number = #{businessCarNumber,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
examine_state = #{examineState,jdbcType=INTEGER},
examine_date = #{examineDate,jdbcType=TIMESTAMP},
examine_remark = #{examineRemark,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},
permanently_valid = #{permanentlyValid,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update td_c_cust_business
set cust_id = #{custId,jdbcType=VARCHAR},
user_phone = #{userPhone,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
business_id = #{businessId,jdbcType=VARCHAR},
business_type = #{businessType,jdbcType=INTEGER},
business_level = #{businessLevel,jdbcType=INTEGER},
business_source = #{businessSource,jdbcType=INTEGER},
business_name = #{businessName,jdbcType=VARCHAR},
business_licence_number = #{businessLicenceNumber,jdbcType=VARCHAR},
begin_date = #{beginDate,jdbcType=TIMESTAMP},
end_date = #{endDate,jdbcType=TIMESTAMP},
legal_person_name = #{legalPersonName,jdbcType=VARCHAR},
operator_name = #{operatorName,jdbcType=VARCHAR},
contact_phone = #{contactPhone,jdbcType=VARCHAR},
business_address = #{businessAddress,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
business_car_number = #{businessCarNumber,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
examine_state = #{examineState,jdbcType=INTEGER},
examine_date = #{examineDate,jdbcType=TIMESTAMP},
examine_remark = #{examineRemark,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},
permanently_valid = #{permanentlyValid,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}