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, car_number, user_name, user_sex, phone_number, car_model_id, plate_type_id, car_brand_id,
car_shelf_num, car_engine_num, check_status, data_state, create_empid, create_date,
modify_empid, modify_date, examine_state, cer_picture_path
delete from td_c_police_car_info
where id = #{id,jdbcType=BIGINT}
delete from td_c_police_car_info
SELECT LAST_INSERT_ID()
insert into td_c_police_car_info (car_number, user_name, user_sex,
phone_number, car_model_id, plate_type_id,
car_brand_id, car_shelf_num, car_engine_num,
check_status, data_state, create_empid,
create_date, modify_empid, modify_date,
examine_state, cer_picture_path)
values (#{carNumber,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{userSex,jdbcType=INTEGER},
#{phoneNumber,jdbcType=VARCHAR}, #{carModelId,jdbcType=INTEGER}, #{plateTypeId,jdbcType=INTEGER},
#{carBrandId,jdbcType=INTEGER}, #{carShelfNum,jdbcType=VARCHAR}, #{carEngineNum,jdbcType=VARCHAR},
#{checkStatus,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP}, #{modifyEmpid,jdbcType=VARCHAR}, #{modifyDate,jdbcType=TIMESTAMP},
#{examineState,jdbcType=INTEGER}, #{cerPicturePath,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into td_c_police_car_info
car_number,
user_name,
user_sex,
phone_number,
car_model_id,
plate_type_id,
car_brand_id,
car_shelf_num,
car_engine_num,
check_status,
data_state,
create_empid,
create_date,
modify_empid,
modify_date,
examine_state,
cer_picture_path,
#{carNumber,jdbcType=VARCHAR},
#{userName,jdbcType=VARCHAR},
#{userSex,jdbcType=INTEGER},
#{phoneNumber,jdbcType=VARCHAR},
#{carModelId,jdbcType=INTEGER},
#{plateTypeId,jdbcType=INTEGER},
#{carBrandId,jdbcType=INTEGER},
#{carShelfNum,jdbcType=VARCHAR},
#{carEngineNum,jdbcType=VARCHAR},
#{checkStatus,jdbcType=INTEGER},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP},
#{examineState,jdbcType=INTEGER},
#{cerPicturePath,jdbcType=VARCHAR},
update td_c_police_car_info
id = #{record.id,jdbcType=BIGINT},
car_number = #{record.carNumber,jdbcType=VARCHAR},
user_name = #{record.userName,jdbcType=VARCHAR},
user_sex = #{record.userSex,jdbcType=INTEGER},
phone_number = #{record.phoneNumber,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},
check_status = #{record.checkStatus,jdbcType=INTEGER},
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},
examine_state = #{record.examineState,jdbcType=INTEGER},
cer_picture_path = #{record.cerPicturePath,jdbcType=VARCHAR},
update td_c_police_car_info
set id = #{record.id,jdbcType=BIGINT},
car_number = #{record.carNumber,jdbcType=VARCHAR},
user_name = #{record.userName,jdbcType=VARCHAR},
user_sex = #{record.userSex,jdbcType=INTEGER},
phone_number = #{record.phoneNumber,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},
check_status = #{record.checkStatus,jdbcType=INTEGER},
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},
examine_state = #{record.examineState,jdbcType=INTEGER},
cer_picture_path = #{record.cerPicturePath,jdbcType=VARCHAR}
update td_c_police_car_info
car_number = #{carNumber,jdbcType=VARCHAR},
user_name = #{userName,jdbcType=VARCHAR},
user_sex = #{userSex,jdbcType=INTEGER},
phone_number = #{phoneNumber,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},
check_status = #{checkStatus,jdbcType=INTEGER},
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},
examine_state = #{examineState,jdbcType=INTEGER},
cer_picture_path = #{cerPicturePath,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update td_c_police_car_info
set car_number = #{carNumber,jdbcType=VARCHAR},
user_name = #{userName,jdbcType=VARCHAR},
user_sex = #{userSex,jdbcType=INTEGER},
phone_number = #{phoneNumber,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},
check_status = #{checkStatus,jdbcType=INTEGER},
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},
examine_state = #{examineState,jdbcType=INTEGER},
cer_picture_path = #{cerPicturePath,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}