|
@@ -760,8 +760,8 @@
|
|
|
<select id="releaseAndExpenseCount" resultType="com.goafanti.weChat.bo.releaseAndExpenseCountOut">
|
|
<select id="releaseAndExpenseCount" resultType="com.goafanti.weChat.bo.releaseAndExpenseCountOut">
|
|
|
select
|
|
select
|
|
|
a.order_no orderNo,a.contract_no contractNo,b.buyer_name buyerName,b.salesman_name salesmanName,b.dep_name depName,
|
|
a.order_no orderNo,a.contract_no contractNo,b.buyer_name buyerName,b.salesman_name salesmanName,b.dep_name depName,
|
|
|
- toc.max_duration maxDuration ,toc.actual_duration actualDuration ,
|
|
|
|
|
- toc.exceed_duration exceedDuration, a.total_amount totalAmount,a.settlement_amount settlementAmount,b.bid_type bidType,
|
|
|
|
|
|
|
+ toc.actual_duration actualDuration ,
|
|
|
|
|
+ a.total_amount totalAmount,a.settlement_amount settlementAmount,b.bid_type bidType,
|
|
|
c.expenseCount,c.peopleCount,c.notExamine,c.rejectCount,d.paymentAmount,c.days,c.amount expenseAmount
|
|
c.expenseCount,c.peopleCount,c.notExamine,c.rejectCount,d.paymentAmount,c.days,c.amount expenseAmount
|
|
|
from t_order_new a left join t_order_mid b on a.order_no =b.order_no
|
|
from t_order_new a left join t_order_mid b on a.order_no =b.order_no
|
|
|
left join t_order_public_release_count toc on a.order_no =toc.order_no
|
|
left join t_order_public_release_count toc on a.order_no =toc.order_no
|