package com.xunhong.erp.turbo.facade.app.service;

import com.xunhong.erp.turbo.api.facade.api.DeepSeekServiceI;
import com.xunhong.erp.turbo.api.facade.dto.cmd.VehicleExtractionCmd;
import com.xunhong.erp.turbo.api.facade.dto.vo.VehicleExtractionVO;
import com.xunhong.erp.turbo.facade.app.executor.cmd.VehicleExtractionCmdExe;
import lombok.RequiredArgsConstructor;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

@Service
@DubboService(interfaceClass = DeepSeekServiceI.class, version = "1.0.0")
@RequiredArgsConstructor
public class DeepSeekServiceImpl implements DeepSeekServiceI {

	private final VehicleExtractionCmdExe vehicleExtractionCmdExe;

	@Override
	public VehicleExtractionVO vehicleExtraction(VehicleExtractionCmd vehicleExtractionCmd) {
		return vehicleExtractionCmdExe.execute(vehicleExtractionCmd);
	}
}
