package org.qinan.safetyeval.app.change.executor.query;

import com.alibaba.cola.dto.PageResponse;
import lombok.AllArgsConstructor;
import org.qinan.safetyeval.client.change.request.QualFilingPersonnelChangePageQry;
import org.qinan.safetyeval.client.change.response.QualFilingPersonnelChangeCo;
import org.qinan.safetyeval.infrastructure.persistence.queryservice.QualFilingPersonnelChangeQueryService;
import org.springframework.stereotype.Component;

/**
 * 备案申请人员-变更分页查询执行器
 *
 * @author ltq
 * @date 2026-07-02 10:04:33
 */
@Component
@AllArgsConstructor
public class QualFilingPersonnelChangePageQueryExe {

    private final QualFilingPersonnelChangeQueryService qualFilingPersonnelChangeQueryService;

    /**
     * 分页查找备案申请人员-变更
     *
     * @param qualFilingPersonnelChangePageQry
     * @return
     */
    public PageResponse<QualFilingPersonnelChangeCo> execute(QualFilingPersonnelChangePageQry qualFilingPersonnelChangePageQry) {
        return qualFilingPersonnelChangeQueryService.listQualFilingPersonnelChangePage(qualFilingPersonnelChangePageQry);
    }

}
