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

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

There is a newer version: 1.16
Show newest version
/*
 * Copyright Бездна (c) 2018.
 */
package ru.abyss.settings.importer;

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

	@Override
	protected String getDestFieldMapper(ImportTable table, String field) {
		// в версии 1.2 в таблице logistics.tplatforms поле length переименовалось в height
		if ("LOGISTICS.TPLATFORMS".equalsIgnoreCase(table.toString()) && "length".equalsIgnoreCase(field))
			field = "height";
		return super.getDestFieldMapper(table, field);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy