insert into owner_car(car_brand, car_num, ps_id, remark, owner_id, car_type_cd, user_id, car_id, car_color, car_type, start_time, end_time, state, community_id, member_id, b_id,lease_type) values (#{carBrand}, #{carNum}, #{psId}, #{remark}, #{ownerId}, #{carTypeCd}, #{userId}, #{carId}, #{carColor}, #{carType}, #{startTime}, #{endTime}, #{state}, #{communityId}, #{memberId}, '-1',#{leaseType}) update owner_car t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.car_brand= #{carBrand} , t.car_num= #{carNum} , t.ps_id= #{psId} , t.remark= #{remark} , t.owner_id= #{ownerId} , t.user_id= #{userId} , t.car_color= #{carColor} , t.car_type= #{carType} , t.start_time= #{startTime} , t.end_time= #{endTime} , t.state= #{state} , t.lease_type= #{leaseType} where 1=1 and t.b_id= #{bId} and t.car_id= #{carId} and t.member_id= #{memberId} and t.community_id= #{communityId} and t.car_type_cd= #{carTypeCd}