|
|
@@ -41,7 +41,7 @@ open class DashboardService( |
|
|
|
+ " from customer c" |
|
|
|
+ " left join customer_subsidiary cs on c.id = cs.customerId" |
|
|
|
+ " left join subsidiary s on cs.subsidiaryId = s.id" |
|
|
|
+ " left join project p on cs.id = p.customerSubsidiaryId" |
|
|
|
+ " left join project p on cs.customerId = p.customerId and cs.subsidiaryId = p.customerSubsidiaryId " |
|
|
|
+ " where c.deleted = 0" |
|
|
|
) |
|
|
|
if (args != null) { |
|
|
|