@@ -644,12 +644,12 @@ public class ArRPWriteOffBillListUI extends AbstractArRPWriteOffBillListUI {
sql.append("\n sum(entry.CFAdjSAT) as CFChargeAmount ");
sql.append("\n from CT_SM_ArChargeSettleE1 entry ");
sql.append("\n left outer join CT_SM_ArChargeSettle bill on bill.FID = entry.FParentID ");
sql.append("\n where bill.CFBillStatus = '"+HSEBillStatusEnum.AUDITED_VALUE+"' and isnull(entry.CFAdjSAT,0)!=0 ");
sql.append("\n where bill.CFBillStatus = '"+HSEBillStatusEnum.AUDITED_VALUE+"' and isnull(entry.CFAdjSAT,0)!=0 and entry.FServeProjectID != 'crYAAAJeQECIb4YR' ");
sql.append("\n group by entry.CFAdjfeePoolId ");
sql.append("\n union all ");
sql.append("\n select to_char(pl.fid) CFScsfundPoolID,pl.FOrgAmount CFOriginalAmount,pl.FSettleAmount CFChargeAmount from CT_SRV_ScsfundPool pl ");
sql.append("\n inner join CT_BAS_ServeProject sp on pl.FServerProjectID = sp.FID");
sql.append("\n where sp.fnumber = '"+DCConstant.serviceProjectContractTax1+"' and FArap = "+ArApType.ar.getValue()+" ");// 合同应收税金
sql.append("\n where sp.fnumber in ('"+DCConstant.serviceProjectContractTax1+"', '"+DCConstant.serviceProjectdfkGoodAmount+"') and FArap = "+ArApType.ar.getValue()+" ");// 合同应收税金
sql.append("\n ) tempTable ");
sql.append("\n ) rp on pl.FID=rp.CFScsfundPoolID");
// sql.append("\n ) dt where dt.principalAllName not like '%猎芯科技%'");