|
|
@@ -768,7 +768,7 @@
|
|
|
left join ( select a.order_no ,sum(c.payment_amount) paymentAmount
|
|
|
from t_order_new a left join t_order_task b on a.order_no =b.order_no left join t_order_payment c on b.id =c.tid
|
|
|
where c.status =3 group by order_no )d on a.order_no=d.order_no
|
|
|
- where 1=1
|
|
|
+ where a.delete_sign in (0,2) and a.process_status >0
|
|
|
<if test="contractNo != null">
|
|
|
and a.contract_no = #{contractNo}
|
|
|
</if>
|