更新运维部门查询的判断
This commit is contained in:
parent
ddd4696f5b
commit
68bcc1aeda
@ -41,9 +41,14 @@
|
||||
<if test="params.tenantId !=null and params.tenantId!=''">
|
||||
and tenant_id=#{params.tenantId}
|
||||
</if>
|
||||
<if test="params.parentDeptId !=null and params.parentDeptId!=''">
|
||||
and parent_dept_id=#{params.parentDeptId}
|
||||
</if>
|
||||
<choose>
|
||||
<when test="params.parentDeptId !=null and params.parentDeptId!=''">
|
||||
and parent_dept_id=#{params.parentDeptId}
|
||||
</when>
|
||||
<otherwise>
|
||||
and parent_dept_id is null
|
||||
</otherwise>
|
||||
</choose>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user