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, cust_id, phone_num, cer_picture_path, car_shelf_num, car_engine_num,
car_check_type, check_state, check_remark, data_status, oper_id, oper_time, oper_name,
cust_name, sex, age, card_no, card_front_img, card_back_img
delete from td_c_car_check_record
where id = #{id,jdbcType=BIGINT}
delete from td_c_car_check_record
SELECT LAST_INSERT_ID()
insert into td_c_car_check_record (car_number, cust_id, phone_num,
cer_picture_path, car_shelf_num, car_engine_num,
car_check_type, check_state, check_remark,
data_status, oper_id, oper_time,
oper_name, cust_name, sex,
age, card_no, card_front_img,
card_back_img)
values (#{carNumber,jdbcType=VARCHAR}, #{custId,jdbcType=VARCHAR}, #{phoneNum,jdbcType=VARCHAR},
#{cerPicturePath,jdbcType=VARCHAR}, #{carShelfNum,jdbcType=VARCHAR}, #{carEngineNum,jdbcType=VARCHAR},
#{carCheckType,jdbcType=INTEGER}, #{checkState,jdbcType=INTEGER}, #{checkRemark,jdbcType=VARCHAR},
#{dataStatus,jdbcType=INTEGER}, #{operId,jdbcType=INTEGER}, #{operTime,jdbcType=TIMESTAMP},
#{operName,jdbcType=VARCHAR}, #{custName,jdbcType=VARCHAR}, #{sex,jdbcType=INTEGER},
#{age,jdbcType=INTEGER}, #{cardNo,jdbcType=VARCHAR}, #{cardFrontImg,jdbcType=VARCHAR},
#{cardBackImg,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into td_c_car_check_record
car_number,
cust_id,
phone_num,
cer_picture_path,
car_shelf_num,
car_engine_num,
car_check_type,
check_state,
check_remark,
data_status,
oper_id,
oper_time,
oper_name,
cust_name,
sex,
age,
card_no,
card_front_img,
card_back_img,
#{carNumber,jdbcType=VARCHAR},
#{custId,jdbcType=VARCHAR},
#{phoneNum,jdbcType=VARCHAR},
#{cerPicturePath,jdbcType=VARCHAR},
#{carShelfNum,jdbcType=VARCHAR},
#{carEngineNum,jdbcType=VARCHAR},
#{carCheckType,jdbcType=INTEGER},
#{checkState,jdbcType=INTEGER},
#{checkRemark,jdbcType=VARCHAR},
#{dataStatus,jdbcType=INTEGER},
#{operId,jdbcType=INTEGER},
#{operTime,jdbcType=TIMESTAMP},
#{operName,jdbcType=VARCHAR},
#{custName,jdbcType=VARCHAR},
#{sex,jdbcType=INTEGER},
#{age,jdbcType=INTEGER},
#{cardNo,jdbcType=VARCHAR},
#{cardFrontImg,jdbcType=VARCHAR},
#{cardBackImg,jdbcType=VARCHAR},
update td_c_car_check_record
id = #{record.id,jdbcType=BIGINT},
car_number = #{record.carNumber,jdbcType=VARCHAR},
cust_id = #{record.custId,jdbcType=VARCHAR},
phone_num = #{record.phoneNum,jdbcType=VARCHAR},
cer_picture_path = #{record.cerPicturePath,jdbcType=VARCHAR},
car_shelf_num = #{record.carShelfNum,jdbcType=VARCHAR},
car_engine_num = #{record.carEngineNum,jdbcType=VARCHAR},
car_check_type = #{record.carCheckType,jdbcType=INTEGER},
check_state = #{record.checkState,jdbcType=INTEGER},
check_remark = #{record.checkRemark,jdbcType=VARCHAR},
data_status = #{record.dataStatus,jdbcType=INTEGER},
oper_id = #{record.operId,jdbcType=INTEGER},
oper_time = #{record.operTime,jdbcType=TIMESTAMP},
oper_name = #{record.operName,jdbcType=VARCHAR},
cust_name = #{record.custName,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=INTEGER},
age = #{record.age,jdbcType=INTEGER},
card_no = #{record.cardNo,jdbcType=VARCHAR},
card_front_img = #{record.cardFrontImg,jdbcType=VARCHAR},
card_back_img = #{record.cardBackImg,jdbcType=VARCHAR},
update td_c_car_check_record
set id = #{record.id,jdbcType=BIGINT},
car_number = #{record.carNumber,jdbcType=VARCHAR},
cust_id = #{record.custId,jdbcType=VARCHAR},
phone_num = #{record.phoneNum,jdbcType=VARCHAR},
cer_picture_path = #{record.cerPicturePath,jdbcType=VARCHAR},
car_shelf_num = #{record.carShelfNum,jdbcType=VARCHAR},
car_engine_num = #{record.carEngineNum,jdbcType=VARCHAR},
car_check_type = #{record.carCheckType,jdbcType=INTEGER},
check_state = #{record.checkState,jdbcType=INTEGER},
check_remark = #{record.checkRemark,jdbcType=VARCHAR},
data_status = #{record.dataStatus,jdbcType=INTEGER},
oper_id = #{record.operId,jdbcType=INTEGER},
oper_time = #{record.operTime,jdbcType=TIMESTAMP},
oper_name = #{record.operName,jdbcType=VARCHAR},
cust_name = #{record.custName,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=INTEGER},
age = #{record.age,jdbcType=INTEGER},
card_no = #{record.cardNo,jdbcType=VARCHAR},
card_front_img = #{record.cardFrontImg,jdbcType=VARCHAR},
card_back_img = #{record.cardBackImg,jdbcType=VARCHAR}
update td_c_car_check_record
car_number = #{carNumber,jdbcType=VARCHAR},
cust_id = #{custId,jdbcType=VARCHAR},
phone_num = #{phoneNum,jdbcType=VARCHAR},
cer_picture_path = #{cerPicturePath,jdbcType=VARCHAR},
car_shelf_num = #{carShelfNum,jdbcType=VARCHAR},
car_engine_num = #{carEngineNum,jdbcType=VARCHAR},
car_check_type = #{carCheckType,jdbcType=INTEGER},
check_state = #{checkState,jdbcType=INTEGER},
check_remark = #{checkRemark,jdbcType=VARCHAR},
data_status = #{dataStatus,jdbcType=INTEGER},
oper_id = #{operId,jdbcType=INTEGER},
oper_time = #{operTime,jdbcType=TIMESTAMP},
oper_name = #{operName,jdbcType=VARCHAR},
cust_name = #{custName,jdbcType=VARCHAR},
sex = #{sex,jdbcType=INTEGER},
age = #{age,jdbcType=INTEGER},
card_no = #{cardNo,jdbcType=VARCHAR},
card_front_img = #{cardFrontImg,jdbcType=VARCHAR},
card_back_img = #{cardBackImg,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update td_c_car_check_record
set car_number = #{carNumber,jdbcType=VARCHAR},
cust_id = #{custId,jdbcType=VARCHAR},
phone_num = #{phoneNum,jdbcType=VARCHAR},
cer_picture_path = #{cerPicturePath,jdbcType=VARCHAR},
car_shelf_num = #{carShelfNum,jdbcType=VARCHAR},
car_engine_num = #{carEngineNum,jdbcType=VARCHAR},
car_check_type = #{carCheckType,jdbcType=INTEGER},
check_state = #{checkState,jdbcType=INTEGER},
check_remark = #{checkRemark,jdbcType=VARCHAR},
data_status = #{dataStatus,jdbcType=INTEGER},
oper_id = #{operId,jdbcType=INTEGER},
oper_time = #{operTime,jdbcType=TIMESTAMP},
oper_name = #{operName,jdbcType=VARCHAR},
cust_name = #{custName,jdbcType=VARCHAR},
sex = #{sex,jdbcType=INTEGER},
age = #{age,jdbcType=INTEGER},
card_no = #{cardNo,jdbcType=VARCHAR},
card_front_img = #{cardFrontImg,jdbcType=VARCHAR},
card_back_img = #{cardBackImg,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}