|
|
@ -281,6 +281,7 @@ |
|
|
|
) fl ON fm.ID = fl.PROJECT_ID |
|
|
|
WHERE fm.CUSTOMER_ID = #{customerId} |
|
|
|
AND fm.MONTH_ID = #{monthId} |
|
|
|
AND fm.PROJECT_STATUS = 'closed' |
|
|
|
) a |
|
|
|
GROUP BY |
|
|
|
GRID_ID |
|
|
@ -317,6 +318,7 @@ |
|
|
|
) fl ON fm.ID = fl.PROJECT_ID |
|
|
|
WHERE fm.CUSTOMER_ID = #{customerId} |
|
|
|
AND fm.MONTH_ID = #{monthId} |
|
|
|
AND fm.PROJECT_STATUS = 'closed' |
|
|
|
) a |
|
|
|
GROUP BY |
|
|
|
AGENCY_ID |
|
|
|