Przeglądaj źródła

update Cost and expense query

tags/Baseline_30082024_BACKEND_UAT
MSI\2Fi 1 rok temu
rodzic
commit
9d3218fbf9
1 zmienionych plików z 2 dodań i 2 usunięć
  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 Wyświetl plik

@@ -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,


Ładowanie…
Anuluj
Zapisz