id, cust_id, car_number,car_number_color, car_model_id, 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
update td_c_car
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},
where id = #{id,jdbcType=BIGINT}
update td_c_car
data_state = 0,
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}
SELECT LAST_INSERT_ID()
insert into td_c_car (cust_id, car_number, car_model_id,
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)
values (#{custId,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR}, #{carModelId,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})