Browse Source

update Cost and expense query

tags/Baseline_30082024_BACKEND_UAT
MSI\2Fi 1 year ago
parent
commit
9d3218fbf9
1 changed files with 2 additions and 2 deletions
  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 View File

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


Loading…
Cancel
Save