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, car_number, car_model_id,car_number_color, plate_type_id, car_brand_id, car_shelf_num,
car_engine_num, phone_number, car_binding_status, data_state, create_empid, create_date,
modfiy_empid, modfiy_date, examine_state, cer_picture_path, credit_score, card_check_state
delete from td_c_car
where id = #{id,jdbcType=BIGINT}
delete from td_c_car
SELECT LAST_INSERT_ID()
insert into td_c_car (cust_id, car_number, car_model_id, car_number_color,
plate_type_id, car_brand_id, car_shelf_num,
car_engine_num, phone_number, car_binding_status,
data_state, create_empid, create_date,
modfiy_empid, modfiy_date, examine_state,
cer_picture_path, credit_score, card_check_state
)
values (#{custId,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR}, #{carModelId,jdbcType=INTEGER},
#{carNumberColor,jdbcType=INTEGER},
#{plateTypeId,jdbcType=INTEGER}, #{carBrandId,jdbcType=INTEGER}, #{carShelfNum,jdbcType=VARCHAR},
#{carEngineNum,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, #{carBindingStatus,jdbcType=INTEGER},
#{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{examineState,jdbcType=INTEGER},
#{cerPicturePath,jdbcType=VARCHAR}, #{creditScore,jdbcType=INTEGER}, #{cardCheckState,jdbcType=INTEGER}
)
SELECT LAST_INSERT_ID()
insert into td_c_car
cust_id,
car_number,
car_model_id,
car_number_color,
plate_type_id,
car_brand_id,
car_shelf_num,
car_engine_num,
phone_number,
car_binding_status,
data_state,
create_empid,
create_date,
modfiy_empid,
modfiy_date,
examine_state,
cer_picture_path,
credit_score,
card_check_state,
#{custId,jdbcType=VARCHAR},
#{carNumber,jdbcType=VARCHAR},
#{carModelId,jdbcType=INTEGER},
#{carNumberColor,jdbcType=INTEGER},
#{plateTypeId,jdbcType=INTEGER},
#{carBrandId,jdbcType=INTEGER},
#{carShelfNum,jdbcType=VARCHAR},
#{carEngineNum,jdbcType=VARCHAR},
#{phoneNumber,jdbcType=VARCHAR},
#{carBindingStatus,jdbcType=INTEGER},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{examineState,jdbcType=INTEGER},
#{cerPicturePath,jdbcType=VARCHAR},
#{creditScore,jdbcType=INTEGER},
#{cardCheckState,jdbcType=INTEGER},
update td_c_car
id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
car_model_id = #{record.carModelId,jdbcType=INTEGER},
plate_type_id = #{record.plateTypeId,jdbcType=INTEGER},
car_brand_id = #{record.carBrandId,jdbcType=INTEGER},
car_shelf_num = #{record.carShelfNum,jdbcType=VARCHAR},
car_engine_num = #{record.carEngineNum,jdbcType=VARCHAR},
phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
car_binding_status = #{record.carBindingStatus,jdbcType=INTEGER},
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},
examine_state = #{record.examineState,jdbcType=INTEGER},
cer_picture_path = #{record.cerPicturePath,jdbcType=VARCHAR},
credit_score = #{record.creditScore,jdbcType=INTEGER},
card_check_state = #{record.cardCheckState,jdbcType=INTEGER},
update td_c_car
set id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
car_model_id = #{record.carModelId,jdbcType=INTEGER},
plate_type_id = #{record.plateTypeId,jdbcType=INTEGER},
car_brand_id = #{record.carBrandId,jdbcType=INTEGER},
car_shelf_num = #{record.carShelfNum,jdbcType=VARCHAR},
car_engine_num = #{record.carEngineNum,jdbcType=VARCHAR},
phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
car_binding_status = #{record.carBindingStatus,jdbcType=INTEGER},
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},
examine_state = #{record.examineState,jdbcType=INTEGER},
cer_picture_path = #{record.cerPicturePath,jdbcType=VARCHAR},
credit_score = #{record.creditScore,jdbcType=INTEGER},
card_check_state = #{record.cardCheckState,jdbcType=INTEGER}
update td_c_car
cust_id = #{custId,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
car_model_id = #{carModelId,jdbcType=INTEGER},
plate_type_id = #{plateTypeId,jdbcType=INTEGER},
car_brand_id = #{carBrandId,jdbcType=INTEGER},
car_shelf_num = #{carShelfNum,jdbcType=VARCHAR},
car_engine_num = #{carEngineNum,jdbcType=VARCHAR},
phone_number = #{phoneNumber,jdbcType=VARCHAR},
car_binding_status = #{carBindingStatus,jdbcType=INTEGER},
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},
examine_state = #{examineState,jdbcType=INTEGER},
cer_picture_path = #{cerPicturePath,jdbcType=VARCHAR},
credit_score = #{creditScore,jdbcType=INTEGER},
card_check_state = #{cardCheckState,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update td_c_car
set cust_id = #{custId,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
car_model_id = #{carModelId,jdbcType=INTEGER},
plate_type_id = #{plateTypeId,jdbcType=INTEGER},
car_brand_id = #{carBrandId,jdbcType=INTEGER},
car_shelf_num = #{carShelfNum,jdbcType=VARCHAR},
car_engine_num = #{carEngineNum,jdbcType=VARCHAR},
phone_number = #{phoneNumber,jdbcType=VARCHAR},
car_binding_status = #{carBindingStatus,jdbcType=INTEGER},
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},
examine_state = #{examineState,jdbcType=INTEGER},
cer_picture_path = #{cerPicturePath,jdbcType=VARCHAR},
credit_score = #{creditScore,jdbcType=INTEGER},
card_check_state = #{cardCheckState,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}