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

import com.huigou.topsun.sap.fixedAssets.domain.TmpFixedAssessMoveData;
import com.huigou.topsun.sap.fixedAssets.repository.TmpFixedAssessMoveDataRepository;
import com.huigou.uasp.tool.dataimport.application.ExcelImportInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("sapFixedAssessMoveExcelImport")
public class SapFixedAssessMoveExcelImport implements ExcelImportInterface {


    @Autowired
    private TmpFixedAssessMoveDataRepository tmpFixedAssessMoveDataRepository;
    @Override
    public void executeImport(String batchNumer) {
        List<TmpFixedAssessMoveData> tmpFixedAssessList = tmpFixedAssessMoveDataRepository.findByBatchNumber(batchNumer);
        System.out.println("=========================");
      //  orgSyncApplication.sync(SyncKind.PSM, portalPeoples);
    }

}
