@ -146,7 +146,7 @@ and a.MoStatus='mostatus_close'
and a.Default6='0'
and a.TenantId='{0}'
and e.OpControl='10000000'
and h2.Status='No'
and (h2.Status='No' or h2.Id is null )
) a
where 1=1