| | |
| | | |
| | | <!-- 保存组织信息 add by wuxw 2018-07-03 --> |
| | | <insert id="saveOrgInfo" parameterType="Map"> |
| | | insert into u_org(belong_community_id, org_name, parent_org_id, allow_operation, description, org_level, |
| | | 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}, #{parentOrgId}, #{allowOperation}, #{description}, #{orgLevel}, |
| | | values (#{belongCommunityId}, #{orgName}, #{orgCode}, #{parentOrgId}, #{allowOperation}, #{description}, #{orgLevel}, |
| | | #{storeId}, #{orgId}) |
| | | </insert> |
| | | |
| | | <!-- 查询组织信息 add by wuxw 2018-07-03 --> |
| | | <select id="getOrgInfo" parameterType="Map" resultType="Map"> |
| | | select t.belong_community_id,t.belong_community_id belongCommunityId,t.org_name,t.org_name |
| | | orgName,org_code,org_code orgCode,t.parent_org_id,t.parent_org_id parentOrgId,t.allow_operation,t.allow_operation |
| | | orgName, t.org_code, t.org_code orgCode,t.parent_org_id,t.parent_org_id parentOrgId,t.allow_operation,t.allow_operation |
| | | allowOperation,t.description,t.org_level,t.org_level orgLevel,t.status_cd,t.status_cd |
| | | statusCd,t.store_id,t.store_id storeId,t.org_id,t.org_id orgId |
| | | from u_org t |