修改mapper文件

release
yishiqihuasheng 2 years ago
parent 7f3e8e5554
commit 9d0ea24c35
  1. 2
      dxhy-admin/src/main/resources/mapper/sys/SysDeptDao.xml
  2. 2
      dxhy-admin/src/main/resources/mapper/sys/SysUserOrgDao.xml

@ -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
</select>
<!-- group by dept.taxno-->
<select id="queryOrgCodes" resultType="com.dxhy.admin.sys.entity.SysDeptEntity" databaseId="oracle">
select dept.*
from sys_user_org uorg

Loading…
Cancel
Save