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