Explorar el Código

update Cost and expense query

tags/Baseline_30082024_BACKEND_UAT
MSI\2Fi hace 1 año
padre
commit
9d3218fbf9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar