|
|
@@ -2108,7 +2108,8 @@ left join department d on o.order_dep = d.id left join t_order_mid a on o.orde
|
|
|
and a.create_time BETWEEN #{startTime} and #{endTime}
|
|
|
</if>
|
|
|
group by order_no )d on a.order_no=d.order_no
|
|
|
- where a.order_no in (select a.order_no from expense_account a where a.target_type = 1
|
|
|
+ where a.process_status > 0
|
|
|
+ and a.order_no in (select a.order_no from expense_account a where a.target_type = 1
|
|
|
<if test="startTime !=null and endTime != null">
|
|
|
and a.create_time BETWEEN #{startTime} and #{endTime}
|
|
|
</if>
|