package com.zcloud.zcGbsServicer.service;

import com.zcloud.zcGbsServicer.api.FireResourceServiceI;
import com.alibaba.cola.dto.PageResponse;
import com.zcloud.zcGbsServicer.command.query.FireResourceQueryExe;
import com.zcloud.zcGbsServicer.dto.FireResourceStaPageQry;
import com.zcloud.zcGbsServicer.dto.clientobject.FireResourceStaCO;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class FireResourceServiceImpl implements FireResourceServiceI {

    private final FireResourceQueryExe fireResourceQueryExe;

    @Override
    public PageResponse<FireResourceStaCO> listSta(FireResourceStaPageQry qry) {
        return fireResourceQueryExe.execute(qry);
    }
}
