@@ -522,6 +522,7 @@
left join prj_AnnualBudgetDetail g on g.ID = b.FYLB
left join sta_Reimbursement r on r.FYSQ = b.ID
where b.SFBZ = 1
+ and r.spzt = '审批结束'
<if test="userId != null and userId != ''">
and (b.SQR = #{userId} or #{userId} in (select SHR from prj_ApproveRecord where XMID = b.ID))
</if>