Compare commits
1 Commits
4cb2ba8474
...
features/f
| Author | SHA1 | Date | |
|---|---|---|---|
| b3c1e10da6 |
@@ -51,6 +51,7 @@ public class ImpositionsTfu extends BaseEntity implements Serializable {
|
|||||||
private String datePieceAdmin;
|
private String datePieceAdmin;
|
||||||
|
|
||||||
@Enumerated(EnumType.STRING)
|
@Enumerated(EnumType.STRING)
|
||||||
|
|
||||||
private StatusAvis statusAvis;
|
private StatusAvis statusAvis;
|
||||||
@Formula("""
|
@Formula("""
|
||||||
(
|
(
|
||||||
@@ -59,6 +60,7 @@ public class ImpositionsTfu extends BaseEntity implements Serializable {
|
|||||||
WHERE d.impositions_tfu_id = id
|
WHERE d.impositions_tfu_id = id
|
||||||
)
|
)
|
||||||
""")
|
""")
|
||||||
|
@Transient
|
||||||
private Integer nombreAvis;
|
private Integer nombreAvis;
|
||||||
@Formula("""
|
@Formula("""
|
||||||
(
|
(
|
||||||
@@ -68,6 +70,7 @@ public class ImpositionsTfu extends BaseEntity implements Serializable {
|
|||||||
and (d.nature_impot='FNB' or d.nature_impot='FB')
|
and (d.nature_impot='FNB' or d.nature_impot='FB')
|
||||||
)
|
)
|
||||||
""")
|
""")
|
||||||
|
@Transient
|
||||||
private Integer nombreAvisFnb;
|
private Integer nombreAvisFnb;
|
||||||
@Formula("""
|
@Formula("""
|
||||||
(
|
(
|
||||||
@@ -78,7 +81,9 @@ public class ImpositionsTfu extends BaseEntity implements Serializable {
|
|||||||
and d.batiment_id is not null
|
and d.batiment_id is not null
|
||||||
)
|
)
|
||||||
""")
|
""")
|
||||||
|
@Transient
|
||||||
private Integer nombreAvisBatiment;
|
private Integer nombreAvisBatiment;
|
||||||
|
|
||||||
@Formula("""
|
@Formula("""
|
||||||
(
|
(
|
||||||
SELECT COUNT(DISTINCT (d.annee, d.code_commune, d.personne_id))
|
SELECT COUNT(DISTINCT (d.annee, d.code_commune, d.personne_id))
|
||||||
@@ -88,6 +93,7 @@ public class ImpositionsTfu extends BaseEntity implements Serializable {
|
|||||||
and d.unite_logement_id is not null
|
and d.unite_logement_id is not null
|
||||||
)
|
)
|
||||||
""")
|
""")
|
||||||
|
@Transient
|
||||||
private Integer nombreAvisUniteLog;
|
private Integer nombreAvisUniteLog;
|
||||||
|
|
||||||
@Column(columnDefinition = "TEXT")
|
@Column(columnDefinition = "TEXT")
|
||||||
|
|||||||
Reference in New Issue
Block a user