Merge pull request '角色管理》配置用户增加部门选择器' (#3) from nflg-bom-transition-lhj0731 into feature/DM/nflg-bom-transition

Reviewed-on: http://192.168.0.40:3000/root/nflg_project/pulls/3
This commit is contained in:
10002327 2024-07-31 17:44:35 +08:00
commit e50f4d5b4c
2 changed files with 9 additions and 1 deletions

View File

@ -72,5 +72,8 @@ public class AuthorityUserQuery implements Serializable {
@ApiModelProperty(value = "当前页")
private Long page = 1L;
@ApiModelProperty(value = "当前选择的部门ID查找子级数据")
private String parentTreeId;
private static final long serialVersionUID = 1L;
}

View File

@ -84,6 +84,11 @@
<if test="query.departRowId!=null ">
and a.depart_row_id=#{query.departRowId}
</if>
<if test="query.parentTreeId !=null ">
and b.parent_tree LIKE concat('%',#{query.parentTreeId},'%')
</if>
</if>
</where>
</select>