Commit 5906cb9324efbb68f7ff6c96ee08717c7929c04a
1 parent
6d135a7a
Exists in
master
and in
21 other branches
Atualização de identificadores da versão 1.1.13
Showing
2 changed files
with
16 additions
and
2 deletions
Show diff stats
PENIntegracao.php
sip_atualizar_versao_modulo_pen.php
... | ... | @@ -94,6 +94,7 @@ class PenAtualizarSipRN extends InfraRN { |
94 | 94 | case '1.1.9': $this->instalarV1110(); |
95 | 95 | case '1.1.10': $this->instalarV1111(); |
96 | 96 | case '1.1.11': $this->instalarV1112(); |
97 | + case '1.1.12': $this->instalarV1113(); | |
97 | 98 | |
98 | 99 | break; |
99 | 100 | default: |
... | ... | @@ -1038,7 +1039,20 @@ class PenAtualizarSipRN extends InfraRN { |
1038 | 1039 | $objInfraParametroBD->alterar($objInfraParametroDTO); |
1039 | 1040 | } |
1040 | 1041 | |
1041 | - | |
1042 | + /** | |
1043 | + * Instala/Atualiza os módulo PEN para versão 1.1.13 | |
1044 | + */ | |
1045 | + protected function instalarV1113() | |
1046 | + { | |
1047 | + //Corrigir a versão do módulo no banco de dados | |
1048 | + $objInfraParametroDTO = new InfraParametroDTO(); | |
1049 | + $objInfraParametroDTO->setStrNome(self::PARAMETRO_VERSAO_MODULO); | |
1050 | + $objInfraParametroDTO->retTodos(); | |
1051 | + $objInfraParametroBD = new InfraParametroBD(BancoSip::getInstance()); | |
1052 | + $objInfraParametroDTO = $objInfraParametroBD->consultar($objInfraParametroDTO); | |
1053 | + $objInfraParametroDTO->setStrValor('1.1.13'); | |
1054 | + $objInfraParametroBD->alterar($objInfraParametroDTO); | |
1055 | + } | |
1042 | 1056 | } |
1043 | 1057 | |
1044 | 1058 | try { | ... | ... |