bug#14533
dev:julio qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@94110 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
b6612a6042
commit
6a69f7814c
|
@ -42,7 +42,8 @@ public class ExportacaoBpe {
|
||||||
PrintWriter writer = new PrintWriter(new OutputStreamWriter(new FileOutputStream(arquivo), Constantes.UTF_8));
|
PrintWriter writer = new PrintWriter(new OutputStreamWriter(new FileOutputStream(arquivo), Constantes.UTF_8));
|
||||||
|
|
||||||
ConstanteService constanteService = (ConstanteService) AppContext.getApplicationContext().getBean("constanteService");
|
ConstanteService constanteService = (ConstanteService) AppContext.getApplicationContext().getBean("constanteService");
|
||||||
String valorConstante = constanteService.buscarPorNomeConstante("IMPORT_BPE_LAYOUT_DIF").getValorconstante();
|
String valorConstante = constanteService.buscarPorNomeConstante("IMPORT_BPE_LAYOUT_DIF") == null
|
||||||
|
? null : constanteService.buscarPorNomeConstante("IMPORT_BPE_LAYOUT_DIF").getValorconstante();
|
||||||
|
|
||||||
boolean isVersao131 = StringUtils.isBlank(valorConstante) ? true : false;
|
boolean isVersao131 = StringUtils.isBlank(valorConstante) ? true : false;
|
||||||
String versaoLayout = StringUtils.isBlank(valorConstante) ? "131" : valorConstante;
|
String versaoLayout = StringUtils.isBlank(valorConstante) ? "131" : valorConstante;
|
||||||
|
|
Loading…
Reference in New Issue