package com.huigou.topsun.sap.statsIndicators.application.impl;

import com.huigou.data.query.model.QueryDescriptor;
import com.huigou.topsun.proofing.domain.proofingApply.query.ProofingApplyQuery;
import com.huigou.topsun.sap.statsIndicators.application.SapStatsIndicatorsDetailApplication;
import com.huigou.topsun.sap.statsIndicators.domain.query.SapStatsIndicatorsDetailQueryRequest;
import com.huigou.uasp.bmp.common.application.BaseApplication;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class SapStatsIndicatorsDetailApplicationImpl extends BaseApplication implements SapStatsIndicatorsDetailApplication {

    @Override
    public Map<String, Object> slicedStatsIndicatorsDetailQuery(SapStatsIndicatorsDetailQueryRequest query) {
        QueryDescriptor queryDescriptor = this.sqlExecutorDao.getQuery(QUERY_XML_FILE_PATH, "slicedStatsIndicatorsDetailQuery");
        return this.sqlExecutorDao.executeSlicedQuery(queryDescriptor,query);
    }
}
