insert into parking_box( yelow_car_in,fee,temp_car_in,box_name,remark,community_id,blue_car_in,box_id ) values ( #{yelowCarIn},#{fee},#{tempCarIn},#{boxName},#{remark},#{communityId},#{blueCarIn},#{boxId} ) update parking_box t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.yelow_car_in= #{yelowCarIn} , t.fee= #{fee} , t.temp_car_in= #{tempCarIn} , t.box_name= #{boxName} , t.remark= #{remark} , t.community_id= #{communityId} , t.blue_car_in= #{blueCarIn} where 1=1 and t.box_id= #{boxId}