@ -64,9 +64,9 @@
<if test="orgType!=null and orgType !=''">
and org_type = #{orgType}
</if>
group by taxno
order by org_code
</select>
<!-- group by taxno-->
<select id="selectDeptByCompany" resultType="com.dxhy.admin.sys.entity.SysDeptEntity" databaseId="oracle">
select * from sys_dept a
where
@ -43,9 +43,9 @@
where uorg.userid = #{userId}
and uorg.taxno is not null
and dept.org_type = '5'
group by dept.taxno
order by dept.org_code asc
<!-- group by dept.taxno-->
<select id="queryOrgCodes" resultType="com.dxhy.admin.sys.entity.SysDeptEntity" databaseId="oracle">
select dept.*
from sys_user_org uorg