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

ru.abyss.settings.importer.ImporterV16 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.6")
public class ImporterV16 extends ImporterV17 {

	@Override
	protected String getDestFieldMapper(ImportTable table, String field) {
		// в версии 1.7 в таблице stock.tproperties поле ear переименовалось в weight
		if ("STOCK.TPROPERTIES".equalsIgnoreCase(table.toString()) && "ear".equalsIgnoreCase(field))
			field = "weight";
		return super.getDestFieldMapper(table, field);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy