新增企业及部门同时筛选
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
<if test="param.organizationId != null">
|
||||
AND a.organization_id = #{param.organizationId}
|
||||
</if>
|
||||
<if test="param.organizationIdWithChildren != null">
|
||||
AND (a.organization_id = #{param.organizationIdWithChildren} OR a.parent_id = #{param.organizationIdWithChildren})
|
||||
</if>
|
||||
<if test="param.parentId != null">
|
||||
AND a.parent_id = #{param.parentId}
|
||||
</if>
|
||||
|
||||
@@ -133,4 +133,8 @@ public class OrganizationParam extends BaseParam {
|
||||
@TableField(exist = false)
|
||||
private String leaderUsername;
|
||||
|
||||
@ApiModelProperty(value = "企业及部门筛选")
|
||||
@TableField(exist = false)
|
||||
private Integer organizationIdWithChildren;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user