sticutils 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19556d4e9a40f2670a737e5685a515f441e2a37f563f4fa416d6d38c7db0d6fa
|
4
|
+
data.tar.gz: 3d669e9b31bad0474efebb3c2572d549b8f9c2cf68a16689c972a3d817067aef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c866271d1dd81928abaaba044e2678c7b5394e35f04928909353970d7e34f51ce91900c874efb2bcbfd7f6d4a4e479b3aa962c86b1e4da36e39346e8e320b7e5
|
7
|
+
data.tar.gz: 2a7c74c176817da93d0d1114a6e218598719c96c2f2f6c1dd7d9f3f7b6f08a9ef0128e4f700dd565bd51703e432ce5dab1900674bba380c3ce1c0962f8c3f5a6
|
@@ -18,7 +18,9 @@ class Gestorh::FolhaAgrupada < Gestorh::GestorhRecord
|
|
18
18
|
# .where.not('cdclassificacaoverba.cv_classificacao': 'DESCONTO_PREVIDENCIA_PUBLICA_IAPEP')
|
19
19
|
Gestorh::MovimentoAcumulado.where(mv_regfolha: self.folhas, mv_matricula: self.matricula)
|
20
20
|
.joins(verba: :classificacao_verba)
|
21
|
-
.select('mv_regfolha as folha_id',
|
21
|
+
.select('mv_regfolha as folha_id',
|
22
|
+
'mv_verba as codigo_evento',
|
23
|
+
'mv_referencia as fator',
|
22
24
|
'cdverba.vb_nome as nome_evento',
|
23
25
|
'mv_dc as status', 'mv_total as valor',
|
24
26
|
'cdclassificacaoverba.cv_classificacao as tipo')
|
@@ -17,7 +17,9 @@ class Gestorh::FolhaAgrupadaIdSeparado < Gestorh::GestorhRecord
|
|
17
17
|
# .where.not('cdclassificacaoverba.cv_classificacao': 'DESCONTO_PREVIDENCIA_PUBLICA_IAPEP')
|
18
18
|
Gestorh::MovimentoAcumulado.where(mv_regfolha: self.folhas, mv_matricula: self.matricula)
|
19
19
|
.joins(verba: :classificacao_verba)
|
20
|
-
.select('mv_regfolha as folha_id',
|
20
|
+
.select('mv_regfolha as folha_id',
|
21
|
+
'mv_verba as codigo_evento',
|
22
|
+
'mv_referencia as fator',
|
21
23
|
'cdverba.vb_nome as nome_evento',
|
22
24
|
'mv_dc as status', 'mv_total as valor',
|
23
25
|
'cdclassificacaoverba.cv_classificacao as tipo')
|
@@ -9,10 +9,7 @@ class Intranet::GlobalOrgao < Intranet::IntranetRecord
|
|
9
9
|
has_many :concursos_remocao_opacaolotacaos, :class_name => 'ConcursosRemocaoOpacaolotacao'
|
10
10
|
has_many :ferias_temps, :class_name => 'FeriasTemp'
|
11
11
|
belongs_to :global_unidadeorganizacional, :class_name => 'GlobalUnidadeorganizacional', :foreign_key => :id
|
12
|
-
belongs_to :global_pessoafisica, :class_name => 'GlobalPessoafisica', :foreign_key => :gestorSubstitutoAtual_id
|
13
12
|
belongs_to :global_tipoorgao, :class_name => 'GlobalTipoorgao', :foreign_key => :tipo_id
|
14
|
-
belongs_to :global_pessoafisica, :class_name => 'GlobalPessoafisica', :foreign_key => :gestorAtual_id
|
15
|
-
belongs_to :global_pessoafisica, :class_name => 'GlobalPessoafisica', :foreign_key => :gestorExcepcionalAtual_id
|
16
13
|
belongs_to :global_predio, :class_name => 'GlobalPredio', :foreign_key => :predioSede_id
|
17
14
|
belongs_to :global_orgao, :class_name => 'GlobalOrgao', :foreign_key => :unidadeSuperior_id
|
18
15
|
has_many :global_orgao_contatos, :class_name => 'GlobalOrgaoContato'
|
@@ -37,4 +34,7 @@ class Intranet::GlobalOrgao < Intranet::IntranetRecord
|
|
37
34
|
has_many :tjpi_vinculos_origem, :class_name => 'TjpiVinculo', foreign_key: :orgaoOrigem_id
|
38
35
|
|
39
36
|
has_many :global_contatos, through: :global_orgao_contatos
|
37
|
+
belongs_to :gestor, :class_name => 'GlobalPessoafisica', :foreign_key => :gestorAtual_id
|
38
|
+
belongs_to :gestor_substituto, :class_name => 'GlobalPessoafisica', :foreign_key => :gestorSubstitutoAtual_id
|
39
|
+
belongs_to :gestor_excepcional, :class_name => 'GlobalPessoafisica', :foreign_key => :gestorExcepcionalAtual_id
|
40
40
|
end
|
data/lib/sticutils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sticutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Viana
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -273,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
273
273
|
- !ruby/object:Gem::Version
|
274
274
|
version: '0'
|
275
275
|
requirements: []
|
276
|
-
rubygems_version: 3.3.
|
276
|
+
rubygems_version: 3.3.22
|
277
277
|
signing_key:
|
278
278
|
specification_version: 4
|
279
279
|
summary: Utilidades para aplicações rails da STIC
|