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

import com.alibaba.cola.dto.PageResponse;
import lombok.AllArgsConstructor;
import org.qinan.safetyeval.client.change.request.QualFilingPersonnelCertChangePageQry;
import org.qinan.safetyeval.client.change.response.QualFilingPersonnelCertChangeCo;
import org.qinan.safetyeval.infrastructure.persistence.queryservice.QualFilingPersonnelCertChangeQueryService;
import org.springframework.stereotype.Component;

/**
 * 备案申请人员证书分页查询执行器
 *
 * @author ltq
 * @date 2026-07-02 10:04:23
 */
@Component
@AllArgsConstructor
public class QualFilingPersonnelCertChangePageQueryExe {

    private final QualFilingPersonnelCertChangeQueryService qualFilingPersonnelCertChangeQueryService;

    /**
     * 分页查找备案申请人员证书
     *
     * @param qualFilingPersonnelCertChangePageQry
     * @return
     */
    public PageResponse<QualFilingPersonnelCertChangeCo> execute(QualFilingPersonnelCertChangePageQry qualFilingPersonnelCertChangePageQry) {
        return qualFilingPersonnelCertChangeQueryService.listQualFilingPersonnelCertChangePage(qualFilingPersonnelCertChangePageQry);
    }

}
