All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.abyss.settings.importer.ImporterV12 Maven / Gradle / Ivy

/*
 * Copyright Бездна (c) 2018.
 */
package ru.abyss.settings.importer;

/**
 * @author Minu <[email protected]>
 * @since 29.06.2018 21:52:26
 */
@ImporterVersion("1.2")
public class ImporterV12 extends ImporterV13 {

	@Override
	protected String getDestFieldMapper(ImportTable table, String field) {
		// в версии 1.3 в таблице settings.tprocessing_cnc поле station переименовалось в code
		if ("SETTINGS.TPROCESSING_CNC".equalsIgnoreCase(table.toString()) && "station".equalsIgnoreCase(field))
			field = "code";
		return super.getDestFieldMapper(table, field);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy