@@ -865,7 +865,10 @@
from
sta_BudgetApproval sb
left join sta_Reimbursement sr on sr.fysq = sb.id and sr.SPZT = '审批结束'
- where sb.NYS = #{nys1} and sb.fylb = #{fylb1}
+ where
+ sb.NYS = #{nys1}
+ and sb.fylb = #{fylb1}
+ and sb.spzt != '作废'
) xmndjfysq
from sta_BudgetApproval b
where b.NYS = #{nys} and b.FYLB = #{fylb} and b.SPZT != '作废' and b.SFBYJ =0