package cn.com.poc.annual_eport.rest.impl;

import javax.annotation.Resource;

import cn.com.poc.annual_eport.dto.AnnualReportAssistantDto;
import cn.com.poc.annual_eport.rest.AnnualReportAssistantRest;
import cn.com.poc.annual_eport.service.AnnualReportService;
import org.springframework.stereotype.Component;

/**
 * @author alex.yao
 * @date 2026/2/5
 */
@Component
public class AnnualReportAssistantRestImpl implements AnnualReportAssistantRest {

    @Resource
    private AnnualReportService annualReportService;

    @Override
    public void call(AnnualReportAssistantDto dto) throws Exception {
        annualReportService.call(dto.getInput(), dto.getFileUrls(), dto.getDialoguesId(), dto.getData());
    }
}
