|
|
|
|
@ -60,7 +60,9 @@ public class PlanosActuacaoImporter
|
|
|
|
|
|
|
|
|
|
private static void readProperties( String[] args ) throws Exception
|
|
|
|
|
{
|
|
|
|
|
args = new String[]{ "/home/fpalma/workspace/PlanosActuacao/properties/0-Importer/app.properties" };
|
|
|
|
|
// args = new String[]{ "/home/fpalma/workspace/PlanosActuacao/properties/0-Importer/app.properties" };
|
|
|
|
|
args = new String[]{ "/Users/fpalma/Documents/workspace/PlanosActuacao/properties/0-Importer/app.properties" };
|
|
|
|
|
|
|
|
|
|
if ( args != null && args.length > 0 )
|
|
|
|
|
{
|
|
|
|
|
String filepath = args[ 0 ];
|
|
|
|
|
@ -286,7 +288,7 @@ public class PlanosActuacaoImporter
|
|
|
|
|
}
|
|
|
|
|
p.setNome_estabelecimento( relatorio.toMarcacao_id().toEstabelecimento_id().getNome() );
|
|
|
|
|
p.setData_relatorio( relatorio.getData() );
|
|
|
|
|
p.setData_disponibilizacao( relatorio.getIs_submetido() );
|
|
|
|
|
// p.setData_disponibilizacao( relatorio.getIs_submetido() );
|
|
|
|
|
p.setHs_relatorio_id( relatorio.getId() );
|
|
|
|
|
|
|
|
|
|
p = provider.getFullPlano( p, relatorio.getId() );
|
|
|
|
|
|