insert into owner_settled_apply( apply_id,create_user_id,remark,state,owner_id,community_id ) values ( #{applyId},#{createUserId},#{remark},#{state},#{ownerId},#{communityId} ) update owner_settled_apply t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.create_user_id= #{createUserId} , t.remark= #{remark} , t.state= #{state} , t.owner_id= #{ownerId} , t.community_id= #{communityId} where 1=1 and t.apply_id= #{applyId}