class CategorySearchParams {

    @ApiModelProperty(value = "分类名称")
    private String name;

    @ApiModelProperty(value = "父id")
    private String parentId;

    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "排序值")
    private BigDecimal sortOrder;

    @ApiModelProperty(value = "佣金比例")
    private BigDecimal commissionRate;

    @ApiModelProperty(value = "父节点名称")
    private String parentTitle;

    @ApiModelProperty(value = "是否禁用")
    private Boolean deleteFlag;

    public <T > QueryWrapper<T> queryWrapper() {<FILL_FUNCTION_BODY>}
}

        QueryWrapper<T> queryWrapper = new QueryWrapper<>();
        queryWrapper.like(name != null, "name", name);
        queryWrapper.like(parentTitle != null, "parent_title", parentTitle);
        queryWrapper.eq(parentId != null, "parent_id", parentId);
        queryWrapper.eq(level != null, "level", level);
        queryWrapper.eq(sortOrder != null, "sort_order", sortOrder);
        queryWrapper.eq(commissionRate != null, "commission_rate", commissionRate);
        queryWrapper.eq(deleteFlag != null, "delete_flag", deleteFlag);
        return queryWrapper;
    
<no_super_class>