岗位浏览按钮SQL完善

This commit is contained in:
dxfeng 2023-02-20 14:28:25 +08:00
parent 3789edf32a
commit cb41ff1f8c
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@
<select id="hasSubs" resultType="java.lang.String">
select distinct supDepId
from hrmdepartment
where canceled = 0
where 1=1
<include refid="com.engine.organization.mapper.comp.CompMapper.subsWhere"/>
</select>
<select id="countUsedInJob" resultType="java.lang.Integer">
select count(1)