insert into u_org(belong_community_id, org_name, org_code, parent_org_id, allow_operation, description, org_level, store_id, org_id) values (#{belongCommunityId}, #{orgName}, #{orgCode}, #{parentOrgId}, #{allowOperation}, #{description}, #{orgLevel}, #{storeId}, #{orgId}) update u_org t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.belong_community_id= #{belongCommunityId} , t.org_name= #{orgName} , t.parent_org_id= #{parentOrgId} , t.allow_operation= #{allowOperation} , t.description= #{description} , t.org_level= #{orgLevel} , t.store_id= #{storeId} , t.org_code= #{orgCode} where 1=1 and t.org_id= #{orgId}