Merge branch 'master' into develop
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20241010130131 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
executeStatement("UPDATE stb_gest_setup SET key_section = 'TIPI_DOCUMENTO' WHERE gest_name = 'IMPORT_DOCUMENTI' AND section = 'PAZIENZA_RIFORD' AND key_section = 'TIPO_DOCUMENTO' ");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -184,6 +184,9 @@ public class DocumentiImporter extends BaseEntityImporter<List<EntityBase>> impl
|
||||
case APULIA:
|
||||
fileNameDest = orginalFileName + "_" +
|
||||
new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()) + ".txt";
|
||||
case PAZIENZA_RIFORD:
|
||||
fileNameDest = orginalFileName + "_" +
|
||||
new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()) + ".xlsx";
|
||||
default:
|
||||
fileNameDest = super.renameFile(orginalFileName, entities);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user