select id, fault_code, fault_name, type_id, car_vin, fault_label, fault_group, fault_bit, fault_value, fault_rank, fault_desc, fault_min_threshold, fault_max_threshold, status, warn_status, remark, create_by, create_time, update_by, update_time from sys_car_fault
insert into sys_car_fault
fault_code,
fault_name,
type_id,
car_vin,
fault_label,
fault_group,
fault_bit,
fault_value,
fault_rank,
fault_desc,
fault_min_threshold,
fault_max_threshold,
status,
warn_status,
remark,
create_by,
create_time,
update_by,
update_time,
#{faultCode},
#{faultName},
#{typeId},
#{carVin},
#{faultLabel},
#{faultGroup},
#{faultBit},
#{faultValue},
#{faultRank},
#{faultDesc},
#{faultMinThreshold},
#{faultMaxThreshold},
#{status},
#{warnStatus},
#{remark},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update sys_car_fault
fault_code = #{faultCode},
fault_name = #{faultName},
type_id = #{typeId},
car_vin = #{carVin},
fault_label = #{faultLabel},
fault_group = #{faultGroup},
fault_bit = #{faultBit},
fault_value = #{faultValue},
fault_rank = #{faultRank},
fault_desc = #{faultDesc},
fault_min_threshold = #{faultMinThreshold},
fault_max_threshold = #{faultMaxThreshold},
status = #{status},
warn_status = #{warnStatus},
remark = #{remark},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where id = #{id}
delete from sys_car_fault where id = #{id}
delete from sys_car_fault where id in
#{id}