@@ -351,6 +351,7 @@
</if>
and t.f_review_date IS NOT NULL
and ifnull(w.f_amount, 0) - ifnull(w.f_stlamount, 0) > 0
+ GROUP BY w.f_id
</where>
</select>
@@ -504,9 +505,9 @@
#{id}
</foreach>
-
and ifnull(w.f_amount, 0) - ifnull(w.f_accamount, 0) > 0