|
|
@@ -757,7 +757,7 @@
|
|
|
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
|
|
|
left join t_order_public_release_count toc on a.order_no =toc.order_no
|
|
|
- left join (select a.order_no,a.expenseCount,b.peopleCount,c.notExamine, c.rejectCount,a.days,a.amount
|
|
|
+ inner join (select a.order_no,a.expenseCount,b.peopleCount,c.notExamine, c.rejectCount,a.days,a.amount
|
|
|
from (select a.order_no,count(a.id)expenseCount,sum(a.amount) amount,sum(ROUND(a.duration/7.5) )days
|
|
|
from expense_account a where a.target_type = 1 and a.status=2
|
|
|
<if test="startTime !=null and endTime !=null">
|