package com.eactive.eai.rms.bat.common.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.eactive.eai.rms.common.datasource.DataSourceType;

@Service("batNdmLogTableDeleteService")
public class BatNdmLogTableDeleteService {

    @Autowired
    @Qualifier("batNdmLogTableDao")
    private BatNdmLogTableDao batNdmLogTableDao;
    
    public void truncNdmLogTable(DataSourceType dataType, String targetTableName) {
    	batNdmLogTableDao.truncNdmLogTable(dataType, targetTableName);
    }
    
}
