package com.huigou.topsun.proofing.application.impl;

import com.huigou.data.query.model.QueryDescriptor;
import com.huigou.topsun.proofing.application.ProofingApplyTechnologyApplication;
import com.huigou.topsun.proofing.domain.proofingApply.query.ProofingApplyTechnologyQueryRequest;
import com.huigou.uasp.bmp.common.application.BaseApplication;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class ProofingApplyTechnologyApplicationImpl  extends BaseApplication implements ProofingApplyTechnologyApplication {


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