Merge remote-tracking branch 'origin/feature/DM/nflg-bom-transition' into feature/DM/nflg-bom-transition

This commit is contained in:
10002327 2024-08-01 08:18:54 +08:00
commit abc525c3da
2 changed files with 9 additions and 1 deletions

View File

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

View File

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