update applet_truck set is_del=1 where id=#{id} delete from applet_truck where id=#{id} delete from applet_truck where users_id=#{users_id} update applet_truck id = #{id}, wx_openid = #{wx_openid}, users_id = #{users_id}, truck_number = #{truck_number}, driving_license_id = #{driving_license_id}, tel_number = #{tel_number}, head_frame_number = #{head_frame_number}, vehicle_weight = #{vehicle_weight}, vehicle_frame_weight = #{vehicle_frame_weight}, driving_license = #{driving_license}, truck_state = #{truck_state}, create_time = #{create_time}::timestamp, is_del = #{is_del}, update_time = current_timestamp where id = #{id} update applet_truck wx_openid = #{wx_openid}, users_id = #{users_id}, truck_number = #{truck_number}, driving_license_id = #{driving_license_id}, driving_license_id ='', tel_number = #{tel_number}, head_frame_number = #{head_frame_number}, vehicle_weight = #{vehicle_weight}, vehicle_weight = null, vehicle_frame_weight = #{vehicle_frame_weight}, vehicle_frame_weight =null, driving_license = #{driving_license}, driving_license =null, truck_state = #{truck_state}, is_del = #{is_del}, update_time = current_timestamp where id = #{id}