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

import com.alibaba.cola.dto.PageResponse;
import lombok.AllArgsConstructor;
import org.qinan.safetyeval.client.change.request.QualFilingEquipmentChangePageQry;
import org.qinan.safetyeval.client.change.response.QualFilingEquipmentChangeCo;
import org.qinan.safetyeval.infrastructure.persistence.queryservice.QualFilingEquipmentChangeQueryService;
import org.springframework.stereotype.Component;

/**
 * 备案申请装备-变更分页查询执行器
 *
 * @author ltq
 * @date 2026-07-02 10:03:59
 */
@Component
@AllArgsConstructor
public class QualFilingEquipmentChangePageQueryExe {

    private final QualFilingEquipmentChangeQueryService qualFilingEquipmentChangeQueryService;

    /**
     * 分页查找备案申请装备-变更
     *
     * @param qualFilingEquipmentChangePageQry
     * @return
     */
    public PageResponse<QualFilingEquipmentChangeCo> execute(QualFilingEquipmentChangePageQry qualFilingEquipmentChangePageQry) {
        return qualFilingEquipmentChangeQueryService.listQualFilingEquipmentChangePage(qualFilingEquipmentChangePageQry);
    }

}
