Pārlūkot izejas kodu

update Cost and expense query

tags/Baseline_30082024_BACKEND_UAT
MSI\2Fi pirms 1 gada
vecāks
revīzija
9d3218fbf9
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt Parādīt failu

@@ -3043,8 +3043,7 @@ open class ReportService(
" left join customer_subsidiary cs on cs.id = p.customerSubsidiaryId " +
" left join subsidiary s2 on s2.id = cs.subsidiaryId " +
" left join tsmsdb.team t on t.teamLead = p.teamLead " +
" where ISNULL(p.code) = False " +
" order by p.code"
" where ISNULL(p.code) = False "
)

if (clientId != null) {
@@ -3065,6 +3064,7 @@ open class ReportService(
" and p.teamLead = :teamLeadId "
)
}
sql.append(" order by p.code ")

val args = mapOf(
"clientId" to clientId,


Notiek ielāde…
Atcelt
Saglabāt