|
|
@@ -357,7 +357,7 @@ |
|
|
</if> |
|
|
</if> |
|
|
GROUP BY merchant_id |
|
|
GROUP BY merchant_id |
|
|
) d on d.merchant_id = wm.id |
|
|
) d on d.merchant_id = wm.id |
|
|
where sumAddCredit > 0 or sumLesCredit < 0 |
|
|
|
|
|
|
|
|
where (sumAddCredit > 0 or sumLesCredit < 0) |
|
|
ORDER BY sumAddCredit desc |
|
|
ORDER BY sumAddCredit desc |
|
|
|
|
|
|
|
|
</select> |
|
|
</select> |
|
|
|