|
|
@@ -3026,8 +3026,6 @@
|
|
|
OR tmc.address_full LIKE concat('%',#{searchText},'%'))
|
|
|
</if>
|
|
|
GROUP BY a.object_id, tmc.cus_name, tmc.cus_phone, tmc.address_full
|
|
|
- HAVING SUM(COALESCE(tpo.out_amt, 0) + COALESCE(tpo.return_amt, 0)) - SUM(COALESCE(tmrp.sum_amt_rec, 0) + COALESCE(sum_amt_pay, 0)) > 0
|
|
|
-
|
|
|
<if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
|
|
|
limit #{end} offset #{start}
|
|
|
</if>
|