package com.eactive.eai.rms.onl.manage.serviceinfo.stdmessage;

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

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

@Service("restoreSTDMessageDeleteService")
public class RestoreSTDMessageDeleteService {

	@Autowired
	private RestoreSTDMessageDeleteRepository stdMessageDao;

	public int deleteTable(DataSourceType targetSchema, String targetDay) {
		return stdMessageDao.deleteTable(targetSchema.getSchema());
	}

}
