|
@@ -222,6 +222,12 @@
|
|
<if test="done!=null and done.endDate!=null and done.endDate!=''">
|
|
<if test="done!=null and done.endDate!=null and done.endDate!=''">
|
|
and mp.save_file_date <= #{done.endDate}
|
|
and mp.save_file_date <= #{done.endDate}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="done!=null and done.hasCommission == true">
|
|
|
|
+ and pf.real_amount > 0
|
|
|
|
+ </if>
|
|
|
|
+ <if test="done!=null and done.hasCommission == false">
|
|
|
|
+ and (pf.real_amount IS NULL OR pf.real_amount = 0)
|
|
|
|
+ </if>
|
|
order by mp.save_file_date desc
|
|
order by mp.save_file_date desc
|
|
</select>
|
|
</select>
|
|
|
|
|